diff options
author | Neil Fuller <nfuller@google.com> | 2017-09-14 09:34:56 +0100 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2017-09-15 12:52:18 +0000 |
commit | 249b2e35a9f134f49b5baf6b0f650f34c1a70820 (patch) | |
tree | a55b9ce28528e6125ada1a620f014b7197a2f887 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 293e2f99550c02a07f326feafc4dc9fd60c76382 (diff) |
Fix a no-op uninstall being treated as a failure
Treat a stageUninstall() doing nothing as a success, not a
failure. This prevents the system retrying the uninstall
later.
Unit tests run with:
make -j30 FrameworksServicesTests
adb install -r -g \
"out/target/product/marlin/data/app/FrameworksServicesTests/FrameworksServicesTests.apk"
adb shell am instrument -e package com.android.server.timezone -w \
com.android.frameworks.servicestests \
"com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner"
Test: See above
Test: Manual testing, adb dumpsys timezone
Test: PTS: run pts -m PtsTimeZoneTestCases
Bug: 65657176
Merged-in: Ifd205da90e848552711ac3f4207cd22ad2c2747b
Change-Id: Ifd205da90e848552711ac3f4207cd22ad2c2747b
(cherry picked from commit 8e27c9226b82f41279ee6c108d2b06bb6f1cef5e)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions