summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java
diff options
context:
space:
mode:
authorMatt Pietal <mpietal@google.com>2021-06-04 15:11:26 -0400
committerMatt Pietal <mpietal@google.com>2021-06-04 15:42:50 -0400
commitdd42f85829a0baee975b2a7b1495aa5bf40c62bc (patch)
tree663712256fe4d8677e8dc171c5b9f8a781288f2e /packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java
parent73eb2771f80179a257b70551da4bf792f9b5a1a3 (diff)
Update time format
When notified of a change in format or a change in user, issue a call to update the time for both large/small clock. Fixes: 189900109 Test: atest KeyguardStatusViewControllerTest Change-Id: I5ccb55e74d26715fc5358bf9dcd95ff9257395bd
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java')
-rw-r--r--packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java
index fbea1e9a594d..a7239cabcae5 100644
--- a/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java
+++ b/packages/SystemUI/src/com/android/keyguard/KeyguardClockSwitchController.java
@@ -342,7 +342,7 @@ public class KeyguardClockSwitchController extends ViewController<KeyguardClockS
}
}
- void refreshFormat(String timeFormat) {
+ void refreshFormat() {
if (mClockViewController != null) {
mClockViewController.refreshFormat();
mLargeClockViewController.refreshFormat();