diff options
author | Shriya Gupta <shrigupt@google.com> | 2023-03-23 11:04:38 +0000 |
---|---|---|
committer | Shriya Gupta <shrigupt@google.com> | 2023-03-27 09:15:42 +0000 |
commit | 782715fd7e398fe352705a045692a43146cef9f3 (patch) | |
tree | a4176b2aa1dd1e167619ca3e2ca0627bc2ed16af | |
parent | 0885907ff98188114152e4280778fcfeae91d353 (diff) | |
download | Permission-782715fd7e398fe352705a045692a43146cef9f3.tar.gz |
Update subpage strings as per final UXW doc
Bug: 256781166
Test: atest SafetyCenterSubpagesTest PrivacySubpageTest
Change-Id: Ie20ffbc53a753b7dc39f4949add96d67b8fa0a6c
3 files changed, 16 insertions, 3 deletions
diff --git a/PermissionController/res/values-v34/strings.xml b/PermissionController/res/values-v34/strings.xml index 26074240b..fb1d7bde5 100644 --- a/PermissionController/res/values-v34/strings.xml +++ b/PermissionController/res/values-v34/strings.xml @@ -26,4 +26,9 @@ <!-- Title shown for Health Connect [CHAR LIMIT=50] --> <string name="health_connect_title" description="Health connect title">Health Connect</string> <string name="health_connect_summary" description="Health connect summary, which describes what user can do when they click Health Connect">App permissions and data management</string> + + <!-- Title for the link to location settings [CHAR LIMIT=30] --> + <string name="location_settings">Location access</string> + <!-- Subtitle for the link to location settings [CHAR LIMIT=NONE] --> + <string name="location_settings_subtitle">For apps and services</string> </resources> diff --git a/SafetyCenter/Resources/res/values-v34/strings.xml b/SafetyCenter/Resources/res/values-v34/strings.xml index 849f7b69c..89e5d6194 100644 --- a/SafetyCenter/Resources/res/values-v34/strings.xml +++ b/SafetyCenter/Resources/res/values-v34/strings.xml @@ -16,6 +16,13 @@ --> <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- Device unlock --> + <string name="lock_screen_sources_title" description="The title of the group of safety settings relating to screen lock and biometrics">Device unlock</string> + + <string name="biometrics_title_for_work" description="The default title of the setting for managing biometric options on the device for work apps">Biometrics for work</string> + + <!-- Privacy --> + <string name="privacy_sources_summary" description="The summary of the group of safety settings relating to privacy, which describes the group contents">Permissions, dashboard, controls</string> <string name="health_connect_title" description="Health connect title">Health Connect</string> <string name="health_connect_search_terms" description="Health connect search words">Health, Health Connect</string> @@ -24,7 +31,8 @@ <string name="ads_privacy_title" description="Ads privacy setting title">Ads privacy</string> <string name="ads_privacy_summary" description="Ads privacy setting summary">Customize info apps use to show you ads</string> <string name="ads_privacy_search_terms" description="Search keywords of the Ads privacy setting">ads, ad privacy, privacy sandbox, ad topics, app-suggested ads, ad measurement</string> - <string name="biometrics_title_for_work" description="The default title of the setting for managing biometric options on the device for work apps">Biometrics for work</string> + + <!-- More settings --> <string name="more_settings_title" description="The title of the entry for More Settings">More settings</string> <string name="more_settings_summary" description="The summary of the entry for More Settings, which describes the page contents">Encryption, credentials, and more</string> <string name="more_settings_search_terms" description="Search keywords of the entry for More Settings"><!-- Empty placeholder--></string> diff --git a/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ui/PrivacySubpageTest.kt b/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ui/PrivacySubpageTest.kt index da1c859e5..aa32475db 100644 --- a/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ui/PrivacySubpageTest.kt +++ b/tests/functional/safetycenter/singleuser/src/android/safetycenter/functional/ui/PrivacySubpageTest.kt @@ -192,7 +192,7 @@ class PrivacySubpageTest { "Microphone access", "Show clipboard access", "Show passwords", - "Location Settings" + "Location access" ) } } @@ -207,7 +207,7 @@ class PrivacySubpageTest { extras.putString(EXTRA_SAFETY_SOURCES_GROUP_ID, sourcesGroup.id) context.launchSafetyCenterActivity(extras) { - openPageAndExit("Location Settings") { + openPageAndExit("Location access") { waitPageTitleDisplayed("Location") waitAllTextDisplayed("Use location") } |