Merge "BluetoothTile: Avoid NPE during boot up phase"
am: 977bcea1f0
Change-Id: I692e2c21f92d0e8eff5c9114e012cd90e84f31e9
This commit is contained in:
@@ -76,6 +76,7 @@ public class BluetoothTile extends QSTileImpl<BooleanState> {
|
||||
|
||||
@Override
|
||||
public void handleSetListening(boolean listening) {
|
||||
if (mController == null) return;
|
||||
if (listening) {
|
||||
mController.addCallback(mCallback);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user