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

Unverified Commit 89dd34dd authored by Michael W's avatar Michael W Committed by Michael Bestas
Browse files

SystemUI: Fix alarm icon

* The icon was initially shown but not again after a reboot
* Reason is, that the user setup isn't completed again
  and therefore the variable mCurrentUserSetup will never
  hold true again
* Fix this by calling onUserSetupChanged once manually to
  get a proper initial state
* Similar code exists in other places in SystemUI as well:
  NavigationBar.java, NetworkControllerImpl.java, ...
  -> Looks like this one was forgotten

Change-Id: I02295a70a82696e7c0c6ade93c96e661140886f0
parent adc655ef
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -362,6 +362,9 @@ public class PhoneStatusBarPolicy
                this::onConnectedDisplayAvailabilityChanged);

        mCommandQueue.addCallback(this);

        // Get initial user setup state
        onUserSetupChanged();
    }

    private String getManagedProfileAccessibilityString() {