Merge "BluetoothTile: Avoid NPE during boot up phase" am: 977bcea1f0
am: a1f96ff00e
Change-Id: Id61a5fe96c065377916a630da4842bd675c8ab14
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