From d704706f28107437f178c6a3f9f03d20ece3ef3a Mon Sep 17 00:00:00 2001 From: Beverly Date: Fri, 6 Aug 2021 10:32:18 -0400 Subject: [PATCH] Use layout parameters to determine lock icon location So we don't rely on the coordinates coming from centering the view (using gravity). Test: manual Fixes: 196280198 Change-Id: Iee7a7e5732d27a782d51e39e4d52b3601814bec3 --- .../SystemUI/res/layout/status_bar_expanded.xml | 3 +-- .../src/com/android/keyguard/LockIconView.java | 14 ++++++-------- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/packages/SystemUI/res/layout/status_bar_expanded.xml b/packages/SystemUI/res/layout/status_bar_expanded.xml index b0f1f487b2609..9df7028c625e1 100644 --- a/packages/SystemUI/res/layout/status_bar_expanded.xml +++ b/packages/SystemUI/res/layout/status_bar_expanded.xml @@ -54,8 +54,7 @@ + android:layout_height="wrap_content">