Avoid potential NPE of mHandlerThread.getLooper()
mHandlerThread can be accessed by multiple thread and if it is quited right after started, mHandlerThread.getLooper() will return null which caused a null pointer exception. Bug: 273396169 Test: atest BluetoothIntrumentationTests:PbapClientServiceTest 1000 times Change-Id: I77ab6d5ec08715c80b40b4e8c28c035753b6dced
Loading
Please register or sign in to comment