From d5198394110b368f3f0bda52bb1ed850f8c507b2 Mon Sep 17 00:00:00 2001 From: Beverly Date: Wed, 23 Feb 2022 19:02:37 +0000 Subject: [PATCH] Update clock position Take into account the descent of the font. For numeral fonts that support languages such as Burmese, this space can be significant. Test: atest KeyguardClockSwitchControllerTest Test: manual Fixes: 220158349 Change-Id: I778d9988e78ddde89a245f0383954ec9203bc185 --- .../android/keyguard/AnimatableClockController.java | 12 ++++++++++++ .../keyguard/KeyguardClockSwitchController.java | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java index 1571913020100..3b5002b079597 100644 --- a/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java +++ b/packages/SystemUI/src/com/android/keyguard/AnimatableClockController.java @@ -163,6 +163,18 @@ public class AnimatableClockController extends ViewController