From 47f1cd4325e839dd33273a451fa052e83789e483 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Fri, 27 Apr 2012 18:11:03 -0700 Subject: [PATCH] Fix 6291333: Don't show multiple pin/pattern/password confirmations This fixes a bug where orientation changes caused the system to ask for the pin/pattern/password multiple times. It also fixes a minor issue where we were showing buttons on the pattern confirmation screen (bug 6218057) Change-Id: I0894f37bb697baa4cc17917aaeb466440279b092 --- res/layout-sw600dp-land/confirm_lock_pattern.xml | 3 ++- src/com/android/settings/ChooseLockGeneric.java | 15 ++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/res/layout-sw600dp-land/confirm_lock_pattern.xml b/res/layout-sw600dp-land/confirm_lock_pattern.xml index ad08e44afd1..3e642d5636a 100644 --- a/res/layout-sw600dp-land/confirm_lock_pattern.xml +++ b/res/layout-sw600dp-land/confirm_lock_pattern.xml @@ -47,7 +47,8 @@ style="@style/SecurityPreferenceButtonContainer" android:layout_alignParentRight="true" android:layout_alignParentBottom="true" - android:orientation="horizontal"> + android:orientation="horizontal" + android:visibility="invisible">