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

Commit 4718885c authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

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

parents a9a4f1e4 8de289ad
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3347,7 +3347,6 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener, Dumpab
        callback.onTimeChanged();
        callback.onPhoneStateChanged(mPhoneState);
        callback.onRefreshCarrierInfo();
        callback.onClockVisibilityChanged();
        callback.onKeyguardVisibilityChangedRaw(mKeyguardIsVisible);
        callback.onTelephonyCapable(mTelephonyCapable);

+0 −6
Original line number Diff line number Diff line
@@ -110,12 +110,6 @@ public class KeyguardUpdateMonitorCallback {
     */
    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
     */
+1 −5
Original line number Diff line number Diff line
@@ -555,11 +555,6 @@ public class KeyguardViewMediator extends CoreStartable implements Dumpable,
            }
        }

        @Override
        public void onClockVisibilityChanged() {
            adjustStatusBarLocked();
        }

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