summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Casey Burkhardt <caseyburkhardt@google.com> 2025-03-13 10:27:34 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2025-03-13 10:27:34 -0700
commitbbe24e64fa0522be866e9b0436c5a5fc8e73f507 (patch)
tree59e054000749f3ba9a705e571eb580abe561009a
parent55f7c4d20223c8fad48701944e3181100ebd1d89 (diff)
parent652fc4bde5f1093e2680458c071b0580a59e1494 (diff)
Merge "Update Clock contentDescription on time zone change" into main
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
index 9a81992a6add..7f778bb029f1 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java
@@ -256,6 +256,9 @@ public class Clock extends TextView implements
if (mClockFormat != null) {
mClockFormat.setTimeZone(mCalendar.getTimeZone());
}
+ if (mContentDescriptionFormat != null) {
+ mContentDescriptionFormat.setTimeZone(mCalendar.getTimeZone());
+ }
});
} else if (action.equals(Intent.ACTION_CONFIGURATION_CHANGED)) {
final Locale newLocale = getResources().getConfiguration().locale;