diff options
author | Suprabh Shukla <suprabh@google.com> | 2017-05-31 17:31:55 -0700 |
---|---|---|
committer | Suprabh Shukla <suprabh@google.com> | 2017-05-31 17:36:06 -0700 |
commit | 0f31f0219b4f922aa277a25f1c2a703170384e28 (patch) | |
tree | 7f1e1faa8792282887435639a725049ebd4d3c88 /res/values/strings.xml | |
parent | 7dbee6164702b7e55569094057a71dbe8b100f62 (diff) | |
download | android_packages_apps_PackageInstaller-0f31f0219b4f922aa277a25f1c2a703170384e28.tar.gz android_packages_apps_PackageInstaller-0f31f0219b4f922aa277a25f1c2a703170384e28.tar.bz2 android_packages_apps_PackageInstaller-0f31f0219b4f922aa277a25f1c2a703170384e28.zip |
Checking user restriction before starting install
Package installer was crashing because package manager threw a security
exception if the user restriction DISALLOW_INSTALL_APPS was set.
Test: Manual
Fixes: 62204640
Change-Id: Ic69f30c4271fad618695ab9a5b635799c1c776c5
Diffstat (limited to 'res/values/strings.xml')
-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 9992a41f..ea28de68 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -84,6 +84,8 @@ <!-- Message presented in a dialog box when the user restriction set by the system restricts the installation of apps from unknown sources. [CHAR LIMIT=none] --> <string name="unknown_apps_user_restriction_dlg_text">Unknown apps can\'t be installed by this user</string> + <!-- Message presented in a dialog box when the user restriction set by the system restricts the installation of apps. [CHAR LIMIT=none] --> + <string name="install_apps_user_restriction_dlg_text">This user is not allowed to install apps</string> <string name="ok">OK</string> |