vendor\mediatek\proprietary\packages\apps\DeskClock\src\com\android\deskclock\ClockFragment.java中未对日期做更新操作:
private final Runnable mQuarterHourUpdater = new QuarterHourRunnable();
/**
* This runnable executes at every quarter-hour (e.g. 1:00, 1:15, 1:30, 1:45, etc...) and
* updates the dates displayed within the UI. Quarter-hour increments were chosen to accommodate
* the "weirdest" timezones (e.g. Nepal is UTC/GMT +05:45).
*/
private final class QuarterHourRunnable implements Runnable {
@Override
public void run() {
Utils.updateDate(mDateFormat, mDateFormatForAccessibility, mClockFrame);//add by cy 20190706
mCityAdapter.notifyDataSetChanged();
}
}
加上更新日期的操作就OK了。