summaryrefslogtreecommitdiff
path: root/SafetyCenter
diff options
context:
space:
mode:
authorElliot Sisteron <elliotsisteron@google.com>2023-04-21 13:03:53 +0000
committerElliot Sisteron <elliotsisteron@google.com>2023-04-21 13:03:53 +0000
commit3a7e31319097bdd4f4128e572b2859e6650deb74 (patch)
tree1096d48ce5e0af3954de3e230771aaf5ff307f26 /SafetyCenter
parent75ba394a1425f3e9ffe0d3d5c0cc3cdd81c446ae (diff)
downloadPermission-3a7e31319097bdd4f4128e572b2859e6650deb74.tar.gz
Add a title to work policy config entry.
This is so that it can be found by search. Only doing this on U+ because search for static entries is only supported on U+. Bug: 278994963 Test: manual Change-Id: Iadcf3f7313ffac46aedcc15509c657900f1f0943
Diffstat (limited to 'SafetyCenter')
-rw-r--r--SafetyCenter/Resources/res/raw-v34/safety_center_config.xml1
-rw-r--r--SafetyCenter/Resources/res/values-v34/strings.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/SafetyCenter/Resources/res/raw-v34/safety_center_config.xml b/SafetyCenter/Resources/res/raw-v34/safety_center_config.xml
index 1c3330c63..183ccbdbe 100644
--- a/SafetyCenter/Resources/res/raw-v34/safety_center_config.xml
+++ b/SafetyCenter/Resources/res/raw-v34/safety_center_config.xml
@@ -119,6 +119,7 @@
id="AndroidWorkPolicyInfo"
packageName="com.android.permissioncontroller"
profile="primary_profile_only"
+ title="@com.android.safetycenter.resources:string/work_policy_title"
initialDisplayState="hidden"
refreshOnPageOpenAllowed="true"/>
<static-safety-source
diff --git a/SafetyCenter/Resources/res/values-v34/strings.xml b/SafetyCenter/Resources/res/values-v34/strings.xml
index 6839c9494..ec6abeca3 100644
--- a/SafetyCenter/Resources/res/values-v34/strings.xml
+++ b/SafetyCenter/Resources/res/values-v34/strings.xml
@@ -37,5 +37,6 @@
<string name="more_settings_title" description="The title of the entry for More Settings">More security &amp; privacy</string>
<string name="more_settings_summary" description="The summary of the entry for More Settings, which describes the page contents">Autofill, notifications, and more</string>
<string name="more_settings_search_terms" description="Search keywords of the entry for More Settings"><!-- Empty placeholder--></string>
+ <string name="work_policy_title" description="Title for the work policy entry under Other Settings in Safety Center, this is for managed devices">Your work policy info</string>
</resources>