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

Commit ec99810e authored by shawnlin's avatar shawnlin
Browse files

Make TextClock.refresh() a public API

Starting from R, apps in /product are not allowed to use hidden API.
TextClock.refresh() is used in FloralClock which is in /product.

We need to make it a public API.

Bug: 132750099
Test: make
Change-Id: I20adbff79270ce9d13f3323386d3636c322012f1
parent 14275a93
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -57178,6 +57178,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 setFormat12Hour(CharSequence);
    method public void setFormat24Hour(CharSequence);
    method public void setTimeZone(String);
+0 −1
Original line number Diff line number Diff line
@@ -421,7 +421,6 @@ public class TextClock extends TextView {

    /**
     * Update the displayed time if necessary and invalidate the view.
     * @hide
     */
    public void refresh() {
        onTimeChanged();