More fine tuning of string.xml for Package Insaller
Test: m -j GooglePackageInstaller
Change-Id: I77b5d7d228d8801fb2635f4feb3a52d39ff5222d
diff --git a/PermissionController/PREUPLOAD.cfg b/PermissionController/PREUPLOAD.cfg
index 1a4ce24..94e4640 100644
--- a/PermissionController/PREUPLOAD.cfg
+++ b/PermissionController/PREUPLOAD.cfg
@@ -4,4 +4,4 @@
[Hook Scripts]
checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
-
+strings_lint_hook = ${REPO_ROOT}/frameworks/base/tools/stringslint/stringslint_sha.sh ${PREUPLOAD_COMMIT}
diff --git a/PermissionController/res/values/strings.xml b/PermissionController/res/values/strings.xml
index e0d57e4..fe60456 100644
--- a/PermissionController/res/values/strings.xml
+++ b/PermissionController/res/values/strings.xml
@@ -119,7 +119,7 @@
<string name="uninstall_application_title">Uninstall app</string>
<!-- [CHAR LIMIT=30] -->
<string name="uninstall_update_title">Uninstall update</string>
- <!-- [CHAR LIMIT=100] -->
+ <!-- [CHAR LIMIT=none] -->
<string name="uninstall_activity_text"><xliff:g id="activity_name">%1$s</xliff:g> is part of the following app:</string>
<!-- [CHAR LIMIT=none] -->
<string name="uninstall_application_text">Do you want to uninstall this app?</string>
@@ -230,14 +230,6 @@
<!-- Title for the dialog button to allow a permission grant. [CHAR LIMIT=15] -->
<string name="grant_dialog_button_allow">Allow</string>
- <!-- Title of an application permission, listed so the user can choose whether they want
- to allow the application to do this. [CHAR LIMIT=30] -->
- <string name="permlab_togglePermissions" translatable="false">toggle permissions</string>
- <!-- Description of an application permission, listed so the user can choose whether
- they want to allow the application to do this. [CHAR LIMIT=100] -->
- <string name="permdesc_togglePermissions" translatable="false">Allows the holder to launch
- the UI for toggling app permissions. Should never be needed for normal apps.</string>
-
<!-- Breadcrumb for page of managing application permissions [CHAR LIMIT=50] -->
<string name="app_permissions_breadcrumb">Apps</string>