From 22e1ef222a658685b95658c6664fecfc5f6a54b2 Mon Sep 17 00:00:00 2001 From: Xiyuan Xia Date: Tue, 26 May 2015 13:17:10 -0700 Subject: [PATCH] Fix transient Next button in confirm screen on orientation change During orientation change, input method service could have stale input editor info. The portrait mode password entry allows fullscreen UI and it is made visible for a glimpse of second during the change. This CL adds the flagNoFullscreen to portrait mode password entry so that the transient switch to fullscreen UI does not happen. Bug:21073469 Change-Id: Ie9d21e46f88ad0395afb8750ab5d19e938685b89 --- res/layout/confirm_lock_password_base.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/layout/confirm_lock_password_base.xml b/res/layout/confirm_lock_password_base.xml index af4ffe8491b..8b025eeaebe 100644 --- a/res/layout/confirm_lock_password_base.xml +++ b/res/layout/confirm_lock_password_base.xml @@ -61,7 +61,7 @@ android:layout_gravity="center_horizontal" android:layout_marginTop="-40dp" android:inputType="textPassword" - android:imeOptions="actionNext" + android:imeOptions="actionNext|flagNoFullscreen" android:gravity="center" android:textSize="16sp" style="@style/TextAppearance.PasswordEntry"/>