Merge "BluetoothTile: Avoid NPE during boot up phase"
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