diff options
author | Philip P. Moltmann <moltmann@google.com> | 2016-11-02 16:37:50 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2016-11-07 10:01:02 -0800 |
commit | 4f78e1fa55255a261247e9a112bc4433cd1a9ab0 (patch) | |
tree | f4429d0b3a82e03c81961a3657da9facf6411f07 /res/values | |
parent | 2c899574ca1e8774ec2c1c4464ed117f2d92ea06 (diff) | |
download | android_packages_apps_PackageInstaller-4f78e1fa55255a261247e9a112bc4433cd1a9ab0.tar.gz android_packages_apps_PackageInstaller-4f78e1fa55255a261247e9a112bc4433cd1a9ab0.tar.bz2 android_packages_apps_PackageInstaller-4f78e1fa55255a261247e9a112bc4433cd1a9ab0.zip |
Uninstaller: For result lifecycle safe
- Move old uninstallation code to TV only (code in app_details.xml,
uninstall_progress.xml, UninstallAppProgress,
UninstallAppProgressFragment)
- use increasing (non-random) IDs for all uninstallations, even those
without uninstall-event-handling.
- Have new workflow to uninstallations that require the result to be
forwarded. For those just show a progress dialog. (code in
UninstallUninstalling). To deal with lifecyle events I am reusing the
EventResultPersister similar to the installation.
Test: Uninstalled from Settings
Change-Id: Iabdebd5412a910efa94c74efc4dd141879614d0b
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/strings.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index a571beb2..98383343 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -100,6 +100,8 @@ <string name="app_not_found_dlg_text"> The app wasn\'t found in the list of installed apps.</string> <string name="user_is_not_allowed_dlg_title">Not allowed</string> <string name="user_is_not_allowed_dlg_text">The current user is not allowed to perform this uninstallation.</string> + <string name="generic_error_dlg_title">Error</string> + <string name="generic_error_dlg_text">App could not be uninstalled.</string> <string name="uninstall_application_title">Uninstall app</string> <string name="uninstall_update_title">Uninstall update</string> <string name="uninstall_activity_text"><xliff:g id="activity_name">%1$s</xliff:g> is part of the following app:</string> |