commit | e2883c1ea03e053f693b4ff87d2710eaead0cb2b | [log] [tgz] |
---|---|---|
author | Akilesh Kailash <akailash@google.com> | Sat Apr 03 06:50:32 2021 +0000 |
committer | Akilesh Kailash <akailash@google.com> | Mon Apr 05 21:50:46 2021 +0000 |
tree | 0d9d8037220f451a210df4a2429ab22ee027d60a | |
parent | 99037347d61884ee83e48f004d6152d4730a350d [diff] |
libsnapshot:snapuserd: Terminate daemon after applying OTA. When all threads are terminated, dm-user handler's are removed from the list. When the last handler is removed, daemon is shutdown gracefully. Bug: 183652708 Test: 1: Apply full OTA and verify daemon is terminated; reapply the OTA to verify daemon is restarted again. 2: vts_libsnapshot_test Signed-off-by: Akilesh Kailash <akailash@google.com> Change-Id: Ibd41223fc0eba884993a533fcc95661f72805db2