summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorChristopher Tate <ctate@google.com>2016-07-12 17:22:17 -0700
committerChristopher Tate <ctate@google.com>2016-07-12 17:26:58 -0700
commit5f829d287f5c8cd72fee1522b8308fa459adc122 (patch)
tree903d4bf5b9f71d0c8a60ffef625c923c8bc4a621 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentdbd5480ac464579c55e7692c2e9f0bb3dcddfe17 (diff)
Test existence of wallpaper files before backing them up
Otherwise we attempt to link a nonexistent file, which throws, and then we abort the whole backup outright. This way, we back up exactly what is present regardless of the presence of each file individually. We also now make sure to reset to the factory state and then apply the restored content from there. Bug 30102506 Change-Id: Ia6a39114f6b84e8cc01342df3da99833d7ca8e9b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions