diff options
author | Oscar Key <okey@google.com> | 2018-01-23 13:53:29 +0000 |
---|---|---|
committer | Oscar Key <okey@google.com> | 2018-01-23 17:16:28 +0000 |
commit | f5b99ad2ea12e65ac66321fdf57e3b031f3985d0 (patch) | |
tree | 6f779e8865b4107dce3f5f0628ef781cb3407666 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8056728f7c0b97d41fb79fbba0add985db2679ab (diff) |
Let the transport ask for non-incremental backup.
Add a new performBackup() return code TRANSPORT_PACKAGE_DATA_LOST. If
the transport returns this then delete the state for the package and
immediately retry it. Thus the retry will be a non-incremental backup.
I have left the new constant as @hide to unblock this change. I will add
this to the current API review change: ag/3477872.
Bug: 71887023
Test: I tested manually by returning the new code for both @pm@ and
other key value packages. No automated test exists for this file, and it
will be tricky to add this before IC.
Change-Id: I4357a8b297c373eb81e25afb82d480b26f6642b6
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions