diff options
author | Philip P. Moltmann <moltmann@google.com> | 2016-10-12 14:43:27 -0700 |
---|---|---|
committer | Philip P. Moltmann <moltmann@google.com> | 2016-10-12 14:43:27 -0700 |
commit | 6891b89862acdbd4e939e5547abc94b42e5294ae (patch) | |
tree | ff7ca0aead5d6c2ddf71b9b93642402dbf9036ec /res/values/strings.xml | |
parent | ee456fffa1927fcb50514ee4fcf665ef3bbd8122 (diff) | |
download | android_packages_apps_PackageInstaller-6891b89862acdbd4e939e5547abc94b42e5294ae.tar.gz android_packages_apps_PackageInstaller-6891b89862acdbd4e939e5547abc94b42e5294ae.tar.bz2 android_packages_apps_PackageInstaller-6891b89862acdbd4e939e5547abc94b42e5294ae.zip |
Provide more information why an install failed
- Incorporate "App not installed" into error string
- Change failure_invalid string as it does not always mean corrupt
- Provide non-translated "raw" status message from package manager in
the UI
Test: Installed Firefox 18, then tried to install Firefox 15. Saw error
message:
App not installed as package appears to be invalid
INSTALL_FAILED_VERSION_DOWNGRADE
Change-Id: Ia9fe97dda7e683d5446d48710ed2ee859c6b04d6
Fixes: 29343425
Diffstat (limited to 'res/values/strings.xml')
-rw-r--r-- | res/values/strings.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 012bf36a..f5aace75 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -53,10 +53,10 @@ <string name="install_failed_blocked">The package was blocked from being installed.</string> <!-- Reason displayed when installation fails because the package conflicts with an existing application (e.g., incompatible certificates) [CHAR LIMIT=100] --> - <string name="install_failed_conflict">The package conflicts with an existing package by the same name.</string> + <string name="install_failed_conflict">App not installed as package conflicts with an existing package.</string> <!-- Reason displayed when installation fails because the package is incompatible with the current tablet (e.g., missing native code for the current ABI, newer SDK, ...) [CHAR LIMIT=100] --> - <string name="install_failed_incompatible" product="tablet">This app isn\'t + <string name="install_failed_incompatible" product="tablet">App not installed as app isn\'t compatible with your tablet.</string> <!-- Reason displayed when installation fails because the package is incompatible with the current TV (e.g., missing native code for the current ABI, newer SDK, ...) [CHAR LIMIT=100] --> @@ -64,11 +64,11 @@ compatible with your TV.</string> <!-- Reason displayed when installation fails because the package is incompatible with the current phone (e.g., missing native code for the current ABI, newer SDK, ...) [CHAR LIMIT=100] --> - <string name="install_failed_incompatible" product="default">This app isn\'t + <string name="install_failed_incompatible" product="default">App not installed as app isn\'t compatible with your phone.</string> <!-- Reason displayed when installation fails because the installation package itself is invalid in some way (e.g., corrupt) [CHAR LIMIT=100] --> - <string name="install_failed_invalid_apk">The package appears to be corrupt.</string> + <string name="install_failed_invalid_apk">App not installed as package appears to be invalid.</string> <!-- Message presented when an application could not be installed on the tablet for some reason. [CHAR LIMIT=100] --> <string name="install_failed_msg" product="tablet"><xliff:g id="app_name">%1$s</xliff:g> couldn\'t be installed on your tablet.</string> <!-- Message presented when an application could not be installed on the TV for some reason. [CHAR LIMIT=100] --> |