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
This commit is contained in:
@@ -186,6 +186,9 @@ class KeyguardStatusViewManager implements OnClickListener {
|
||||
|
||||
mTransientTextManager = new TransientTextManager(mCarrierView);
|
||||
|
||||
mUpdateMonitor.registerInfoCallback(mInfoCallback);
|
||||
mUpdateMonitor.registerSimStateCallback(mSimStateCallback);
|
||||
|
||||
resetStatusInfo();
|
||||
refreshDate();
|
||||
updateOwnerInfo();
|
||||
|
||||
Reference in New Issue
Block a user