From 6042626a97cfd7bfcbb40eab5b49ed407dfc6424 Mon Sep 17 00:00:00 2001 From: kwaky Date: Mon, 20 Apr 2020 18:40:13 -0700 Subject: [PATCH] Prevent KeyguardContainer size from shrinking when switching from Password Security Challenge. Before this change, KeyguardPasswordView used maximum height and width. First, since the Bouncer is the only component in Car Keyguard, no such configuration was needed. Second, once the Keyguard Container was shrunk in size due to the max height and width config of KeyguardPasswordView, it did not increase again to host the view of other Security challenges such as PIN and Pattern. As a result, the PIN and Pattern security challenges were cropped out due to insufficient space. Therefore, the max height and width attributes of Keyguard Password View has been removed. Test: Manual Bug: 154555720 Change-Id: I56b38d5401c7c88fdfedf33f11f713217f6dbc4d --- .../CarSystemUI/res-keyguard/layout/keyguard_password_view.xml | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/CarSystemUI/res-keyguard/layout/keyguard_password_view.xml b/packages/CarSystemUI/res-keyguard/layout/keyguard_password_view.xml index 7004fb64ba067..8b235e6f246e4 100644 --- a/packages/CarSystemUI/res-keyguard/layout/keyguard_password_view.xml +++ b/packages/CarSystemUI/res-keyguard/layout/keyguard_password_view.xml @@ -29,8 +29,6 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent" - androidprv:layout_maxWidth="@dimen/keyguard_security_width" - androidprv:layout_maxHeight="@dimen/keyguard_security_height" android:gravity="center">