Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d55e7d6f authored by Bruno Martins's avatar Bruno Martins Committed by Lennart Wieboldt
Browse files

WifiTile: Avoid NPE during boot phase

* Listening handling can only take place once mController
  is properly initialized.

Change-Id: Icd5003e67a725323a5445a936d5a38a3006c5431
parent b8d25ed3
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -76,6 +76,7 @@ public class WifiTile extends QSTileImpl<SignalState> {

    @Override
    public void handleSetListening(boolean listening) {
        if (mController == null) return;
        if (listening) {
            mController.addCallback(mSignalCallback);
        } else {