Fix LockNotBeforeTry errorProne in BluetoothAdapter
[LockNotBeforeTry] Prefer obtaining the lock for mServiceLock.readLock() outside the try block. That way, if #lock throws, the lock is not erroneously released. Bug: 274037299 Test: this is no-op Change-Id: I1936032204506f3b5b76679f159b5f658a3ea442
Loading
Please register or sign in to comment