commit | 9a5f80a6528d76153a7e97821f114f3370df89a5 | [log] [tgz] |
---|---|---|
author | Marie Janssen <jamuraa@google.com> | Fri Jun 16 08:57:16 2017 -0700 |
committer | Marie Janssen <jamuraa@google.com> | Fri Jun 16 10:01:24 2017 -0700 |
tree | 9965e96494852e9a59183245ed2a4e64fb06fa3f | |
parent | 0733dd54f0a7631b9a03ec440231e9cc27b47845 [diff] |
AVRCP: Prevent multithread issues in cleanup When cleaning up the object in doQuit it was possible to have multiple threads updating at once, causing NullPointerExceptions in some cases. Synchronize the startup and shutdown of the Avrcp object to prevent this. Test: toggle bluetooth rapidly Bug: 62676895 Change-Id: I2618c7d7b21acb1f95cb67366d469da2fa88d4a4