Merge "Remove onClockVisibilityChanged callback from KUMCallback" into tm-qpr-dev

This commit is contained in:
TreeHugger Robot
2022-07-18 14:15:02 +00:00
committed by Android (Google) Code Review
3 changed files with 1 additions and 12 deletions

View File

@@ -3347,7 +3347,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
callback.onTimeChanged(); callback.onTimeChanged();
callback.onPhoneStateChanged(mPhoneState); callback.onPhoneStateChanged(mPhoneState);
callback.onRefreshCarrierInfo(); callback.onRefreshCarrierInfo();
callback.onClockVisibilityChanged();
callback.onKeyguardVisibilityChangedRaw(mKeyguardIsVisible); callback.onKeyguardVisibilityChangedRaw(mKeyguardIsVisible);
callback.onTelephonyCapable(mTelephonyCapable); callback.onTelephonyCapable(mTelephonyCapable);

View File

@@ -110,12 +110,6 @@ public class KeyguardUpdateMonitorCallback {
*/ */
public void onKeyguardDismissAnimationFinished() { } public void onKeyguardDismissAnimationFinished() { }
/**
* Called when visibility of lockscreen clock changes, such as when
* obscured by a widget.
*/
public void onClockVisibilityChanged() { }
/** /**
* Called when the device becomes provisioned * Called when the device becomes provisioned
*/ */

View File

@@ -555,11 +555,6 @@ public class KeyguardViewMediator extends CoreStartable implements Dumpable,
} }
} }
@Override
public void onClockVisibilityChanged() {
adjustStatusBarLocked();
}
@Override @Override
public void onDeviceProvisioned() { public void onDeviceProvisioned() {
sendUserPresentBroadcast(); sendUserPresentBroadcast();
@@ -1193,6 +1188,7 @@ public class KeyguardViewMediator extends CoreStartable implements Dumpable,
mSystemReady = true; mSystemReady = true;
doKeyguardLocked(null); doKeyguardLocked(null);
mUpdateMonitor.registerCallback(mUpdateCallback); mUpdateMonitor.registerCallback(mUpdateCallback);
adjustStatusBarLocked();
mDreamOverlayStateController.addCallback(mDreamOverlayStateCallback); mDreamOverlayStateController.addCallback(mDreamOverlayStateCallback);
} }
// Most services aren't available until the system reaches the ready state, so we // Most services aren't available until the system reaches the ready state, so we