Merge "BluetoothTile: Avoid NPE during boot up phase"

am: 977bcea1f0

Change-Id: I692e2c21f92d0e8eff5c9114e012cd90e84f31e9
This commit is contained in:
Bruno Martins
2018-02-16 17:41:30 +00:00
committed by android-build-merger

View File

@@ -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 {