From e13e319e0c9af2eebb33404cec6f2f1f282c62c5 Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Wed, 21 Mar 2018 14:06:07 -0700 Subject: [PATCH] Separate skip and clear button in pattern screen So that the action performed is always the same as what the button label says. Test: m -j RunSettingsRoboTests Bug: 72197171 Change-Id: Ia2a02b630a86874d002e462e41fdf676c2d27203 --- .../choose_lock_pattern_common_footer.xml | 10 +++- .../password/SetupChooseLockPattern.java | 30 ++++------- .../password/SetupChooseLockPatternTest.java | 50 ++++++++++++++++--- 3 files changed, 63 insertions(+), 27 deletions(-) diff --git a/res/layout/choose_lock_pattern_common_footer.xml b/res/layout/choose_lock_pattern_common_footer.xml index d80702e39dd..fc36624541b 100644 --- a/res/layout/choose_lock_pattern_common_footer.xml +++ b/res/layout/choose_lock_pattern_common_footer.xml @@ -22,7 +22,15 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> - + +