From 3a7d2e55a6891863005efabaf3d87d14a01203ba Mon Sep 17 00:00:00 2001 From: Beverly Date: Fri, 6 Aug 2021 13:34:00 -0400 Subject: Update clock burn-in so it doesn't clash with udpfs * update the UDFPS icon burn-in parameters to be in pixels because we don't want display density to increase the position movement * when the clock is centered aligned, we want to make sure it doesn't overlap with the udfps icon Test: atest SystemUITests, manually update clock times with with DozeUi.BURN_IN_TESTING_ENABLED enabled and see clock doesn't interfere with the UDFPS icon. Fixes: 192423460 Change-Id: I6f95fe3ad763971b804129b517f4c98192ab3674 Merged-In: I6f95fe3ad763971b804129b517f4c98192ab3674 --- .../com/android/keyguard/KeyguardStatusViewController.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java') diff --git a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java index 72e502816534..6b3e9c27c25f 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java @@ -184,6 +184,20 @@ public class KeyguardStatusViewController extends ViewController