Quick fix: Move blocking code to background thread
BluetoothAdapter#isEnabled may block with small probability when PropertyInvalidatedCache miss and recompute. Thus we move it to a backgroud thread to avoid ANR. Bug: 294835798 Test: manual Change-Id: I33a2b4b8c848f66bf213d10088640cfb5f9b744d
Loading
Please register or sign in to comment