Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 442a53c5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Policy transparency for mandatory backups."

parents 70d01a51 a5f12c6b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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>
+3 −0
Original line number Diff line number Diff line
@@ -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);