summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nate Myren <ntmyren@google.com> 2023-11-09 11:10:39 -0800
committer Nate Myren <ntmyren@google.com> 2023-11-09 19:15:27 +0000
commit01c9fc252dcc1feffea8ec873458e53bfe36781a (patch)
tree3151f89f4a1f1eb3336aed3ed6fdd5e1ab5e0a2c
parent11a7a43310ab8e5e7f5b54a7bef49608af5bd9d8 (diff)
Change "Select photos and videos" label to "Allow limited access"
Fixes: 309926463 Test: manual Relnote: changing string in grant dialog Change-Id: Ic76dc53b124d8b626626226094cda5d6042dcb52
-rw-r--r--PermissionController/res/layout/grant_permissions.xml2
-rw-r--r--PermissionController/res/layout/grant_permissions_material3.xml2
-rw-r--r--PermissionController/res/values/strings.xml3
3 files changed, 5 insertions, 2 deletions
diff --git a/PermissionController/res/layout/grant_permissions.xml b/PermissionController/res/layout/grant_permissions.xml
index 4b23dd959..f01f00c60 100644
--- a/PermissionController/res/layout/grant_permissions.xml
+++ b/PermissionController/res/layout/grant_permissions.xml
@@ -143,7 +143,7 @@
<com.android.permissioncontroller.permission.ui.widget.SecureButton
android:id="@+id/permission_allow_selected_button"
- android:text="@string/grant_dialog_button_allow_selected_photos"
+ android:text="@string/grant_dialog_button_allow_limited_access"
style="@style/PermissionGrantButtonAllowSelected" />
<com.android.permissioncontroller.permission.ui.widget.SecureButton
diff --git a/PermissionController/res/layout/grant_permissions_material3.xml b/PermissionController/res/layout/grant_permissions_material3.xml
index d405976cf..6b1ccb2a4 100644
--- a/PermissionController/res/layout/grant_permissions_material3.xml
+++ b/PermissionController/res/layout/grant_permissions_material3.xml
@@ -144,7 +144,7 @@
<com.android.permissioncontroller.permission.ui.widget.SecureButton
android:id="@+id/permission_allow_selected_button"
- android:text="@string/grant_dialog_button_allow_selected_photos"
+ android:text="@string/grant_dialog_button_allow_limited_access"
style="@style/PermissionGrantButtonAllowSelectedMaterial3" />
<com.android.permissioncontroller.permission.ui.widget.SecureButton
diff --git a/PermissionController/res/values/strings.xml b/PermissionController/res/values/strings.xml
index 8f56046e2..bfb6e09b5 100644
--- a/PermissionController/res/values/strings.xml
+++ b/PermissionController/res/values/strings.xml
@@ -73,6 +73,9 @@
<!-- Title for the dialog button to allow access to all of a resource always. [CHAR LIMIT=60] -->
<string name="grant_dialog_button_always_allow_all">Always allow all</string>
+ <!-- Title for the dialog button to allow limited access. [CHAR LIMIT=60] -->
+ <string name="grant_dialog_button_allow_limited_access">Allow limited access</string>
+
<!-- Title for the dialog button to allow access to select photos to be shared. [CHAR LIMIT=60] -->
<string name="grant_dialog_button_allow_selected_photos">Select photos and videos</string>