bb6b42638b0471ccd8bf9cc6e02dc7efeba1bb98 |
|
14-Sep-2017 |
Neil Fuller <nfuller@google.com> |
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. Modified several tests accordingly and added new ones to catch similar cases. Test: Manual testing, adb dumpsys timezone Test: PTS: run pts -m PtsTimeZoneTestCases Test: CTS: run cts -m CtsLibcoreTestCases -t com.android.timezone.distro.installer.TimeZoneDistroInstallerTest Bug: 65657176 Merged-in: I00b0cae4e2473a2b55480f0274af493bbc4f3ca8 Change-Id: I00b0cae4e2473a2b55480f0274af493bbc4f3ca8 (cherry picked from commit 5a9e9b9ed812b1df5d109a9fa99de4f32f6ea50b)
/system/timezone/distro/installer/src/test/com/android/timezone/distro/installer/TimeZoneDistroInstallerTest.java
|