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

Commit a5f12c6b authored by Lenka Trochtova's avatar Lenka Trochtova
Browse files

Policy transparency for mandatory backups.

Bug: 64012357
Test: manual

Change-Id: I6f3dd294cca26fc0572ce6b8723a616902b1752f
parent aaf307e7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -8335,6 +8335,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);