summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRuslan Tkhakokhov <rthakohov@google.com>2018-11-12 11:09:04 +0000
committerRuslan Tkhakokhov <rthakohov@google.com>2018-11-13 21:13:14 +0000
commiteb6dabcdde47d20ba87a792e3349931f834a3348 (patch)
treea5bd22062b095ab8e8ac859a3df771ba54022134 /tools/aapt2/java/JavaClassGenerator.cpp
parent449563024b648ef5fb1ace9245891ee67562bbda (diff)
KV] Don't set current token if no data was moved
Bug: 119299848 Test: 1) atest KeyValueBackupTaskTest 2) Manual: - Run 'adb shell bmgr init' for the active transport to wipe all backup data - Run 'adb shell dumpsys backup' and verify string 'Current: 0', i.e. the current token is set to 0 - Create a test app implementing a BackupAgent that writes no data in onBackup() and install it on the device - Run 'adb shell bmgr backupnow --non-incremental <test_app_package>' to initiate a backup, where --non-incremental flag makes sure PM is not added to the backup queue - Run 'adb shell dumpsys backup' and verify string 'Current: 0' again Change-Id: I595bea9874fd84d0c81b32a509c970a1b142872c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions