summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Nate Myren <ntmyren@google.com> 2023-11-13 09:35:46 -0800
committer Nate Myren <ntmyren@google.com> 2023-11-15 20:19:15 +0000
commitba44bd37303b22f1bb4a354c676fdb25cc4abf9b (patch)
tree7796f785fbe1531ecd4ba71f659bfefb6518b716
parent5624c2ccdced41bc4d711e9698378081bc418313 (diff)
Change "ask every time" in photo settings to "allow limited access"
Bug: 309926463 Test: manual Relnote: string change Change-Id: I0d30de8c2f6404a356b59e4813597731b42cb318 Merged-In: I0d30de8c2f6404a356b59e4813597731b42cb318
-rw-r--r--PermissionController/res/layout/app_permission.xml2
-rw-r--r--PermissionController/res/values/strings.xml1
2 files changed, 2 insertions, 1 deletions
diff --git a/PermissionController/res/layout/app_permission.xml b/PermissionController/res/layout/app_permission.xml
index 6520d79fa..042cc7130 100644
--- a/PermissionController/res/layout/app_permission.xml
+++ b/PermissionController/res/layout/app_permission.xml
@@ -107,7 +107,7 @@
<RadioButton
android:id="@+id/select_radio_button"
- android:text="@string/app_permission_button_ask"
+ android:text="@string/grant_dialog_button_allow_limited_access"
android:layout_alignParentStart="true"
style="@style/AppPermissionRadioButton"
android:layout_marginTop="0dp" />
diff --git a/PermissionController/res/values/strings.xml b/PermissionController/res/values/strings.xml
index bfb6e09b5..f08d971cb 100644
--- a/PermissionController/res/values/strings.xml
+++ b/PermissionController/res/values/strings.xml
@@ -75,6 +75,7 @@
<!-- Title for the dialog button to allow limited access. [CHAR LIMIT=60] -->
<string name="grant_dialog_button_allow_limited_access">Allow limited access</string>
+ <!-- TODO: b/310657469 add app_permission version of this 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>