commit | 2b016a171148a05fe4081958cd6ae297ab76c0d0 | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@google.com> | Sun May 22 22:16:41 2016 -0700 |
committer | Pavlin Radoslavov <pavlin@google.com> | Tue May 24 21:17:42 2016 +0000 |
tree | c64f57bf229c6c824b9f4d494e75a6609e8713d4 | |
parent | c49d21f9c4ac128bf150ba7c78c0c416640b8f77 [diff] |
Reduced the impact of "synchronized" statements * Removed "synchronized" statements that are not needed * Replaced "synchronized" statements with Read/Write lock as appropriate. The lock protects the access to and the setting of BluetoothAdapter.mService and BluetoothManagerService.mBluetooth and associated state. Bug: 28734075 Bug: 28799467 Change-Id: I8f8281c505f0a1ae0add1e14a3caba1f5b2a98e4 (cherry picked from commit eb50a39e98acb78d16465041bb5c172aa1637e97)