| commit | b94582c6cb409e0d82aa02715deaa691e452b2e9 | [log] [tgz] |
|---|---|---|
| author | Andy Hung <hunga@google.com> | Mon Nov 18 16:19:45 2024 -0800 |
| committer | Andy Hung <hunga@google.com> | Fri Nov 22 17:41:48 2024 -0800 |
| tree | ccb577d78b8606b87ab3f7788cacfa69c841b7dc | |
| parent | 2049eaab20575e8597c8fff76dea19d2e826bfff [diff] |
ServiceSingleton: Do not permit onServiceDied before onNewService
Remove race with binder death notification.
Fix deallocation race in NDK singleton implementation.
Flag: EXEMPT bugfix
Test: atest service_singleton_tests
Test: for run in {1..100}; do (sleep 8; echo $run; adb shell pkill audioserver); done
Bug: 379427790
Change-Id: I9dadb512dce8140a31e79acd6dfdff9946d1f8bc