commit | f2efa0e984618246ce796f36bf3e946e033510f2 | [log] [tgz] |
---|---|---|
author | Brian Duddie <bduddie@google.com> | Thu Jun 06 16:43:41 2019 -0700 |
committer | Arjun Garg <arjgarg@google.com> | Thu Jul 11 12:17:11 2019 -0700 |
tree | 368b1c88adf380cb28d4df0b21326e1e5dd83859 | |
parent | 9741d3d817f3c8a0ef237b3984394a09477c7d50 [diff] |
Fix race between SensorManager ctor and callback Avoids potential invalid memory access if system server crashes during initialization. Bug: 132927376 Test: confirm sensors initialize Change-Id: If7421c452b5893ab2567323d265503a1ce304482 Merged-In: If7421c452b5893ab2567323d265503a1ce304482 (cherry picked from commit 231a12189b2b820843ebf5d002876a23e0890c09)