diff options
| author | Neil Fuller <nfuller@google.com> | 2017-09-14 09:34:56 +0100 |
|---|---|---|
| committer | Neil Fuller <nfuller@google.com> | 2017-09-15 14:08:29 +0100 |
| commit | f7b5c5b6068055729f0dd976b483a31a1d604684 (patch) | |
| tree | 510faf6f683b649b7e23c7c4bc4e419c7b73bb37 /startop/scripts/lib/cmd_utils.py | |
| parent | a3c28cc567d9bf42050e5106120a9fef440c339f (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 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions
