From 728a1c4d5ed3b808172013a7f5bb5065d1e964f6 Mon Sep 17 00:00:00 2001 From: Christopher Tate Date: Thu, 28 Jul 2011 18:03:03 -0700 Subject: Require the current backup pw in all backup/restore operations Specifically, we now also require the current password to confirm any restore operation. Bug 4901637 Change-Id: I39ecce7837f70cd05778cb7e0e6390ad8f6fe3f3 --- .../res/layout/confirm_backup.xml | 20 +++++++++-- .../res/layout/confirm_restore.xml | 20 +++++++++-- .../res/values/strings.xml | 9 +++-- .../backupconfirm/BackupRestoreConfirmation.java | 40 ++++++++++++++-------- 4 files changed, 66 insertions(+), 23 deletions(-) (limited to 'packages') diff --git a/packages/BackupRestoreConfirmation/res/layout/confirm_backup.xml b/packages/BackupRestoreConfirmation/res/layout/confirm_backup.xml index 08dcfae..3668b8c 100644 --- a/packages/BackupRestoreConfirmation/res/layout/confirm_backup.xml +++ b/packages/BackupRestoreConfirmation/res/layout/confirm_backup.xml @@ -21,7 +21,7 @@ + android:padding="16dp" > + android:text="@string/current_password_text" /> + + + + @@ -47,7 +61,7 @@ android:layout_width="match_parent" android:layout_height="20dp" android:layout_marginLeft="30dp" - android:layout_below="@id/password" + android:layout_below="@id/enc_password" android:layout_marginBottom="30dp" />