From 5b236efc8d95415437ace9443738972e69519afa Mon Sep 17 00:00:00 2001 From: Peter Kalauskas Date: Wed, 9 Jun 2021 15:22:55 -0700 Subject: Fix positioning bug in user switcher Introduces a new parameter to KeyguardVisibilityHelper to change whether or not it will attempt to adjust the Y coordinates of its view. Previously on the keyguard, if a PIN was set, the user switcher icon would move upwards each time the phone was unlocked until it was completely off the screen. Test: With config_keyguardUserSwitcher=true, and config_keyguard_user_switch_opens_qs_details=false, set a screen PIN, repeatedly unlock and lock device, ensure that user switcher icon remains in the same place Bug: 190351752 Change-Id: I4fec01dcc0ab39529ba2c7e74e4a5a13ac2d2cd8 --- .../SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 e4cabcb94ebe..7f5192d6e4f3 100644 --- a/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java +++ b/packages/SystemUI/src/com/android/keyguard/KeyguardStatusViewController.java @@ -77,7 +77,7 @@ public class KeyguardStatusViewController extends ViewController