diff options
author | Amith Yamasani <yamasani@google.com> | 2014-10-28 09:35:46 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2014-10-28 10:08:18 -0700 |
commit | aedb646edc37a5b2feea1fe28894fe4b06d94c55 (patch) | |
tree | 2ea3bf9a9814b446781c7b929db6c14721512cc1 /res/values | |
parent | 83bdda7668a587fbf4913a1e55892991022b4456 (diff) | |
download | android_packages_apps_PackageInstaller-aedb646edc37a5b2feea1fe28894fe4b06d94c55.tar.gz android_packages_apps_PackageInstaller-aedb646edc37a5b2feea1fe28894fe4b06d94c55.tar.bz2 android_packages_apps_PackageInstaller-aedb646edc37a5b2feea1fe28894fe4b06d94c55.zip |
Display correct message based on reason
There can be two reasons for not allowing installation of apps
from unknown sources.
1. The user setting is off, in which case allow the user to go
to Settings and change it.
2. The device administrator (or corp profile) has prohibited. In this
case, user can't really change it, so show a different message and
have just an OK button.
Bug: 17656403
Change-Id: I0d90ba95d7a9250021366b76d570c0ef7b55c143
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/strings.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 23211cdd..a01e5657 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -89,6 +89,9 @@ <string name="unknown_apps_dlg_text" product="tablet">For security, your tablet is set to block installation of apps obtained from unknown sources.</string> <!-- Message presented in a dialog box when a package is requested to be installed, but the "Allow unknown applications" checkbox is not enabled. [CHAR LIMIT=100] --> <string name="unknown_apps_dlg_text" product="default">For security, your phone is set to block installation of apps obtained from unknown sources.</string> + <!-- Message presented in a dialog box when the device administrator restricts the installation of apps from unknown sources. [CHAR LIMIT=none] --> + <string name="unknown_apps_admin_dlg_text">Your administrator doesn\'t allow installation of apps obtained from unknown sources.</string> + <string name="ok">OK</string> <string name="settings">Settings</string> <!-- Title of dialog asking user if they would allow an application to be an install source. --> |