Loading res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -8340,6 +8340,8 @@ <string name="disabled_by_policy_title_camera">Camera not allowed</string> <!-- Title for dialog displayed to tell user that screenshots are disabled by an admin [CHAR LIMIT=50] --> <string name="disabled_by_policy_title_screen_capture">Screenshot not allowed</string> <!-- Title for dialog displayed to tell user that turning off backups is disallowed by an admin [CHAR LIMIT=50] --> <string name="disabled_by_policy_title_turn_off_backups">Can\'t turn off backups</string> <!-- Shown when the user tries to change a settings locked by an admin [CHAR LIMIT=200] --> <string name="default_admin_support_msg">This action is disabled. To learn more, contact your organization\'s admin.</string> src/com/android/settings/ShowAdminSupportDetailsDialog.java +3 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,9 @@ public class ShowAdminSupportDetailsDialog extends Activity case DevicePolicyManager.POLICY_DISABLE_SCREEN_CAPTURE: titleView.setText(R.string.disabled_by_policy_title_screen_capture); break; case DevicePolicyManager.POLICY_MANDATORY_BACKUPS: titleView.setText(R.string.disabled_by_policy_title_turn_off_backups); break; default: // Use general text if no specialized title applies titleView.setText(R.string.disabled_by_policy_title); Loading Loading
res/values/strings.xml +2 −0 Original line number Diff line number Diff line Loading @@ -8340,6 +8340,8 @@ <string name="disabled_by_policy_title_camera">Camera not allowed</string> <!-- Title for dialog displayed to tell user that screenshots are disabled by an admin [CHAR LIMIT=50] --> <string name="disabled_by_policy_title_screen_capture">Screenshot not allowed</string> <!-- Title for dialog displayed to tell user that turning off backups is disallowed by an admin [CHAR LIMIT=50] --> <string name="disabled_by_policy_title_turn_off_backups">Can\'t turn off backups</string> <!-- Shown when the user tries to change a settings locked by an admin [CHAR LIMIT=200] --> <string name="default_admin_support_msg">This action is disabled. To learn more, contact your organization\'s admin.</string>
src/com/android/settings/ShowAdminSupportDetailsDialog.java +3 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,9 @@ public class ShowAdminSupportDetailsDialog extends Activity case DevicePolicyManager.POLICY_DISABLE_SCREEN_CAPTURE: titleView.setText(R.string.disabled_by_policy_title_screen_capture); break; case DevicePolicyManager.POLICY_MANDATORY_BACKUPS: titleView.setText(R.string.disabled_by_policy_title_turn_off_backups); break; default: // Use general text if no specialized title applies titleView.setText(R.string.disabled_by_policy_title); Loading