Merge "BluetoothTile: Avoid NPE during boot up phase"

This commit is contained in:
Treehugger Robot
2018-02-16 15:20:23 +00:00
committed by Gerrit Code Review

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 {