From 7ed3ec7ceedc56fb6ded588de5757022abfcc7ad Mon Sep 17 00:00:00 2001 From: Beverly Date: Wed, 24 Nov 2021 09:08:49 -0500 Subject: [PATCH] Update the ambient indication container - Move the ambient indication container to the keyguard bottom area so that the KeyguardBottomAreaView can control the x and y burn-in offsets so that they are equivalent to the charging text burn in offsets. Test: atest KeyguardBottomAreaTest Test: manual Bug: 206122454 Change-Id: I85d7684aa7f229a5c04a6c35ea0cffa449b876e4 --- .../res/layout/keyguard_bottom_area.xml | 4 +-- .../res/layout/status_bar_expanded.xml | 3 -- .../phone/KeyguardBottomAreaView.java | 28 +++++++++++++++++++ .../statusbar/phone/KeyguardBottomAreaTest.kt | 4 +-- 4 files changed, 32 insertions(+), 7 deletions(-) diff --git a/packages/SystemUI/res/layout/keyguard_bottom_area.xml b/packages/SystemUI/res/layout/keyguard_bottom_area.xml index 8dbd59d42ab7c..759670e01e719 100644 --- a/packages/SystemUI/res/layout/keyguard_bottom_area.xml +++ b/packages/SystemUI/res/layout/keyguard_bottom_area.xml @@ -17,7 +17,6 @@ - + diff --git a/packages/SystemUI/res/layout/status_bar_expanded.xml b/packages/SystemUI/res/layout/status_bar_expanded.xml index 82186c13394ef..591d8f52c4bec 100644 --- a/packages/SystemUI/res/layout/status_bar_expanded.xml +++ b/packages/SystemUI/res/layout/status_bar_expanded.xml @@ -119,9 +119,6 @@ systemui:layout_constraintEnd_toEndOf="parent" /> - -