summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorArtem Iglikov <artikz@google.com>2018-04-23 15:55:04 +0100
committerArtem Iglikov <artikz@google.com>2018-04-23 17:12:00 +0000
commit60efeb64cd713ae3b7b689084d4a7c6c0e3bff1e (patch)
tree47b538109e77036f00c02c05ed675dfccddd3fbe /tools/aapt2/java/JavaClassGenerator_test.cpp
parent54e0be0d25be47bb0af84cf16438cf328f9e84ed (diff)
DO NOT MERGE Add list of approved services in addApprovedList
... instead of replacing it. I.e., do what the method name claims to do in order to fix restoring. Otherwise during restore the list of components is getting set to the list of the components from backup set, i.e., list of pre-approved components is lost. Bug: 77630371 Test: with a backup set for package "android" created with LocalTransport run (also see the bug) adb root && adb shell bmgr enable true && adb shell bmgr transport android/com.android.internal.backup.LocalTransport && adb shell bmgr backupnow android && adb shell rm -rf /cache/backup/1/_delta/android/ && adb push android /cache/backup/1/_delta/ && adb shell cat /data/system/notification_policy.xml | grep enabled_listeners -C 5 && adb shell bmgr restore 1 android && adb shell cat /data/system/notification_policy.xml | grep enabled_listeners -C 5 Test: atest FrameworksUiServicesTests Change-Id: Ic201d868bdb003fcac12876ab55f4992edb866e3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions