Merge "Policy transparency for mandatory backups."
This commit is contained in:
committed by
Android (Google) Code Review
commit
442a53c5fb
@@ -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>
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user