summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRuslan Tkhakokhov <rthakohov@google.com>2020-12-04 12:41:11 +0000
committerRuslan Tkhakokhov <rthakohov@google.com>2020-12-04 20:57:52 +0000
commit735cbd5ad026781b1f65b657eb1bbba53a25626c (patch)
tree8fe7b23828d5e757e54706d107b751f111d73c79 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent1447bab54ada0c1f552c3528fe5e0a5d492484e0 (diff)
Update eligibility rules for adb backup
1. Adb backup is enabled by default for "android" package that corresponds to SystemBackupAgent (no change from current behavior) 2. System and privileged apps can use android.backup.ALLOW_ADB_BACKUP manifest property to enable / disable adb backup. Disabled by default. 3. Other apps can only use adb backup when running in debuggable mode. Bug: 171032338 Test: 1. atest BackupEligibilityRulesTest 2.1. Run adb backup / restore for SystemBackupAgent and verify success (running in system_server) 2.2. Run adb backup / restore for NexusLauncher with "allowAdbBackup=true" and verify success (privileged app) 2.3. Run adb backup / restore for a non-privileged debuggable app and verify success. Change-Id: Ifefe6d888377d3ac9482928b27c86b2e562ad8fa
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions