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

Commit fdd9b7a6 authored by Sherry Zhou's avatar Sherry Zhou
Browse files

Add log for refresh time for customized clocks

Test: manual and see log printed in bugreport
Bug: 290746208
Change-Id: Idd7c38cfd5517b99ca6b7c37aece72ba9bf7a980
parent 1ce6427a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -421,6 +421,7 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS
     * Refresh clock. Called in response to TIME_TICK broadcasts.
     */
    void refresh() {
        mLogBuffer.log(TAG, LogLevel.INFO, "refresh");
        if (mSmartspaceController != null) {
            mSmartspaceController.requestSmartspaceUpdate();
        }
+1 −0
Original line number Diff line number Diff line
@@ -308,6 +308,7 @@ public class KeyguardStatusViewController extends ViewController<KeyguardStatusV
    private KeyguardUpdateMonitorCallback mInfoCallback = new KeyguardUpdateMonitorCallback() {
        @Override
        public void onTimeChanged() {
            Slog.v(TAG, "onTimeChanged");
            refreshTime();
        }