commit | 85aebe3ee2a34bd4940d603fefcd55c74de313f4 | [log] [tgz] |
---|---|---|
author | Keith Mok <keithmok@google.com> | Fri May 06 19:44:39 2022 +0000 |
committer | Keith Mok <keithmok@google.com> | Sat May 07 01:28:57 2022 +0000 |
tree | d70bd6f99a2e0d73ffb3fa2fe4aab0aa53a182ee | |
parent | 78672d1c2eaa2defc1ac9c84473b35296cbbac9d [diff] |
Fix fingerprint aidl race condition then thread is join Even if the shared variable is atomic, it must be modified under the mutex in order to correctly publish the modification to the waiting thread. There is a chance that mThread will miss both mIsDestructing and notify event without a mutex. Bug: 231737939 Test: manual Change-Id: If83a94b766c816b9e4897acb1e89eacdce880c15