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

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

Merge "Rename the api from refresh() to refreshTime() to make it more clear"

parents 863ca629 f45e0243
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58908,7 +58908,7 @@ package android.widget {
    method @android.view.ViewDebug.ExportedProperty public CharSequence getFormat24Hour();
    method public String getTimeZone();
    method public boolean is24HourModeEnabled();
    method public void refresh();
    method public void refreshTime();
    method public void setFormat12Hour(CharSequence);
    method public void setFormat24Hour(CharSequence);
    method public void setTimeZone(String);
+1 −1
Original line number Diff line number Diff line
@@ -422,7 +422,7 @@ public class TextClock extends TextView {
    /**
     * Update the displayed time if necessary and invalidate the view.
     */
    public void refresh() {
    public void refreshTime() {
        onTimeChanged();
        invalidate();
    }
+2 −2
Original line number Diff line number Diff line
@@ -387,8 +387,8 @@ public class KeyguardClockSwitch extends RelativeLayout {
     * Refresh the time of the clock, due to either time tick broadcast or doze time tick alarm.
     */
    public void refresh() {
        mClockView.refresh();
        mClockViewBold.refresh();
        mClockView.refreshTime();
        mClockViewBold.refreshTime();
        if (mClockPlugin != null) {
            mClockPlugin.onTimeTick();
        }
+1 −1
Original line number Diff line number Diff line
@@ -188,7 +188,7 @@ public class AnalogClockController implements ClockPlugin {
    public void onTimeTick() {
        mAnalogClock.onTimeChanged();
        mBigClockView.onTimeChanged();
        mLockClock.refresh();
        mLockClock.refreshTime();
    }

    @Override
+1 −1
Original line number Diff line number Diff line
@@ -195,7 +195,7 @@ public class BubbleClockController implements ClockPlugin {
    public void onTimeTick() {
        mAnalogClock.onTimeChanged();
        mView.onTimeChanged();
        mLockClock.refresh();
        mLockClock.refreshTime();
    }

    @Override