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

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

Merge "Call ClockPlugin#onTimeTick on lock screen"

parents b8d4c59b ae926733
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -271,14 +271,11 @@ public class KeyguardClockSwitch extends RelativeLayout {
        return mClockView.getTextSize();
    }

    public void refresh() {
        mClockView.refresh();
    }

    /**
     * Notifies that time tick alarm from doze service fired.
     * Refresh the time of the clock, due to either time tick broadcast or doze time tick alarm.
     */
    public void dozeTimeTick() {
    public void refresh() {
        mClockView.refresh();
        if (mClockPlugin != null) {
            mClockPlugin.onTimeTick();
        }
+0 −1
Original line number Diff line number Diff line
@@ -214,7 +214,6 @@ public class KeyguardStatusView extends GridLayout implements
    public void dozeTimeTick() {
        refreshTime();
        mKeyguardSlice.refresh();
        mClockView.dozeTimeTick();
    }

    private void refreshTime() {