Update the strings of Admin-Support Dialog
Bug: 252967902
Test: manual
Change-Id: I1c196aef3bea0771e99487b583c7d29fe9264a98
diff --git a/res/values/strings.xml b/res/values/strings.xml
index b569f27..b8dcdaa 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -9288,7 +9288,7 @@
<string name="android_version_pending_update_summary">Update available</string>
<!-- Title for dialog displayed when user taps a setting on their phone that's blocked by their IT admin [CHAR LIMIT=30 BACKUP_MESSAGE_ID:4867639270211833535] -->
- <string name="disabled_by_policy_title">Blocked by your IT admin</string>
+ <string name="disabled_by_policy_title">Blocked by work policy</string>
<!-- Title for dialog displayed to tell user that changing volume on their phone is blocked by their IT admin [CHAR LIMIT=50] -->
<string name="disabled_by_policy_title_adjust_volume">Can’t change volume</string>
<!-- Title for dialog displayed to tell user that outgoing calls are blocked by their IT admin [CHAR LIMIT=50] -->
@@ -9308,7 +9308,7 @@
<!-- Dialog content shown when parental consent is required for the child to set up biometric authentication. [CHAR LIMIT=NONE] -->
<string name="disabled_by_policy_content_biometric_parental_consent">Hand the phone to your parent to start setting this up</string>
<!-- Shown when the user tries to change phone settings that are blocked by their IT admin [CHAR LIMIT=200] -->
- <string name="default_admin_support_msg">If you have questions, contact your IT admin</string>
+ <string name="default_admin_support_msg">For more info, contact your IT admin</string>
<!-- Shown in dialog to allow user to see more information about the device admin [CHAR LIMIT=30] -->
<string name="admin_support_more_info">More details</string>
<!-- Shown in admin details page to warn user about policies the admin can set in a work profile. [CHAR LIMIT=NONE] -->
diff --git a/src/com/android/settings/enterprise/ActionDisabledByAdminDialogHelper.java b/src/com/android/settings/enterprise/ActionDisabledByAdminDialogHelper.java
index b61813b..2376c80 100644
--- a/src/com/android/settings/enterprise/ActionDisabledByAdminDialogHelper.java
+++ b/src/com/android/settings/enterprise/ActionDisabledByAdminDialogHelper.java
@@ -89,7 +89,7 @@
public AlertDialog.Builder prepareDialogBuilder(String restriction,
EnforcedAdmin enforcedAdmin) {
AlertDialog.Builder builder = new AlertDialog.Builder(mActivity)
- .setPositiveButton(R.string.okay,
+ .setPositiveButton(R.string.suggestion_button_close,
mActionDisabledByAdminController
.getPositiveButtonListener(mActivity, enforcedAdmin))
.setView(mDialogView);