diff options
author | Neil Fuller <nfuller@google.com> | 2017-09-14 09:34:56 +0100 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2017-09-14 09:37:44 +0100 |
commit | 8e27c9226b82f41279ee6c108d2b06bb6f1cef5e (patch) | |
tree | 95e9038be093130b33ebb87c4ed69dc63e43e4a1 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 8ccd08c76e32a6d3b4aeb1f953e8d3b684dcce64 (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
Change-Id: Ifd205da90e848552711ac3f4207cd22ad2c2747b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions