OSDN Git Service

Fix adb backup for encrypted case
authorPaul Lawrence <paullawrence@google.com>
Thu, 21 Aug 2014 15:43:41 +0000 (08:43 -0700)
committerPaul Lawrence <paullawrence@google.com>
Fri, 22 Aug 2014 18:22:43 +0000 (11:22 -0700)
commit32d06732cdb7ee653a58e49a4dab13a780513db5
treee7915fe34e031d09fa3e746f3504b22163b7ef99
parentf9220b39533d18b6c79099c32522b3ff712ff89b
Fix adb backup for encrypted case

New behavior. Backup no longer uses the encryption password. This is in
part because that is hard with patterns, in part because it is a security
issue - the off line backup is much easier to brute force than the phone.

Instead, we simply insist on an encryption password if your device is encrypted
and locked.

Bug: 17159330
Change-Id: Ia22f84722522abf0b569a3ef1e16ead5527c726d
packages/BackupRestoreConfirmation/res/values/strings.xml
packages/BackupRestoreConfirmation/src/com/android/backupconfirm/BackupRestoreConfirmation.java
services/backup/java/com/android/server/backup/BackupManagerService.java