summaryrefslogtreecommitdiffstats
path: root/res/values
diff options
context:
space:
mode:
authorKenny Guy <kennyguy@google.com>2014-06-03 17:50:38 +0100
committerKenny Guy <kennyguy@google.com>2014-07-10 16:37:55 +0100
commit596ce64f71011e7600ee2be66d977dafb86b9da3 (patch)
treea6f63132b25528b6b0631dabdddc1ec36ee0615c /res/values
parent365b378c1770a5bc75da34c2bb26cc48f4c49c5c (diff)
downloadandroid_packages_apps_PackageInstaller-596ce64f71011e7600ee2be66d977dafb86b9da3.tar.gz
android_packages_apps_PackageInstaller-596ce64f71011e7600ee2be66d977dafb86b9da3.tar.bz2
android_packages_apps_PackageInstaller-596ce64f71011e7600ee2be66d977dafb86b9da3.zip
Support uninstalling apps for other profiles.
Allow client to pick which user the package will be removed for, checking its a profile of the current user. Inform user if package is blocked from being removed and let them knows its due to an admin. Add check to stop non owner asking to uninstall for all users. Bug: 14127299 Change-Id: I60504224f5271272a390320a0fa62aa7f5de4e54
Diffstat (limited to 'res/values')
-rw-r--r--res/values/strings.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index a43af793..23211cdd 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -113,6 +113,7 @@
<string name="uninstall_application_text">Do you want to uninstall this app?</string>
<string name="uninstall_application_text_all_users">Do you want to uninstall this app for <b>all</b>
users? The application and its data will be removed from <b>all</b> users on the device.</string>
+ <string name="uninstall_application_text_user">Do you want to uninstall this app for the user <xliff:g id="username">%1$s</xliff:g>?</string>
<string name="uninstall_update_text">Do you want to replace this app with the factory version?</string>
<string name="uninstalling">Uninstalling\u2026</string>
<string name="uninstall_done">Uninstall finished.</string>
@@ -121,6 +122,14 @@
is a current device administrator [CHAR LIMIT=80] -->
<string name="uninstall_failed_device_policy_manager">Can\'t uninstall because this package is an
active device administrator.</string>
+ <!-- String presented to the user when uninstalling a package failed because a profile owner
+ has marked the the target package as not able to be uninstalled [CHAR LIMIT=80] -->
+ <string name="uninstall_blocked_profile_owner">This app is needed for
+ your <xliff:g id="username">%1$s</xliff:g> profile and can\'t be uninstalled.</string>
+ <!-- String presented to the user when uninstalling a package failed because a device owner
+ has marked the the target package as not able to be uninstalled [CHAR LIMIT=80] -->
+ <string name="uninstall_blocked_device_owner">This app is required
+ by your device administrator and can\'t be uninstalled.</string>
<!-- String on a button that leads to the "device administrator" configuration setting where a
user will be able to disable the device administrator in order to uninstall
it. [CHAR LIMIT=50] -->