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

Commit 19eb7014 authored by Jim Miller's avatar Jim Miller
Browse files

Fix 5406921: Register for receiving phone state changes when KGSVM gets created.

This fixes a bug where the state wasn't being updated because it wasn't
registered for KeyguardUpdateMonitor state changes when the view first created, like on first boot.

Change-Id: Ic6838afffd0de51decdc43a8e8a796696aed49df
parent 4b5bd847
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -186,6 +186,9 @@ class KeyguardStatusViewManager implements OnClickListener {

        mTransientTextManager = new TransientTextManager(mCarrierView);

        mUpdateMonitor.registerInfoCallback(mInfoCallback);
        mUpdateMonitor.registerSimStateCallback(mSimStateCallback);

        resetStatusInfo();
        refreshDate();
        updateOwnerInfo();