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

Commit cea90ebd authored by Svetoslav's avatar Svetoslav
Browse files

Add strings for the screen overlay warning

We do not allow interaction with the permissions UI if
it is covered by screen overlay to prevent UI redressing
attacks. This change adds the strings for the warning
dialog we show if there is an overlay when the user tries
to interact with the permissions UI.

bug:22317719

Change-Id: Ibaa04b89b52757275dc08f228e3bf496606409fb
parent b004e34f
Loading
Loading
Loading
Loading
+12 −5
Original line number Diff line number Diff line
@@ -261,10 +261,17 @@
   <!-- Title of the permission dialog for accessibility purposes- spoken to the user. [CHAR LIMIT=none] -->
   <string name="permission_request_title">Permission request</string>

   <!-- Toast that warns the user they need to turn off screen overlays
        before permissions can be changed. The "Settings > Apps" conveys
        to the user to go to Settings and click on apps, this may
        need updates in RTL languages. [CHAR LIMIT=NONE] -->
   <string name="screen_overlay_toast">To set permissions, turn off screen overlay from Settings \u003e Apps</string>
    <!-- Title for the dialog that warns the user they need to turn off screen overlays
         before permissions can be changed. [CHAR LIMIT=NONE] -->
   <string name="screen_overlay_title">Screen overlay detected</string>

   <!-- Message for the dialog that warns the user they need to turn off screen overlays
        before permissions can be changed. The "Settings > Apps" conveys to the user to
        go to Settings and click on apps, this may need updates in RTL languages. [CHAR LIMIT=NONE] -->
   <string name="screen_overlay_message">To change this permission setting, you first have to turn off the screen overlay from Settings \u003e Apps</string>

    <!-- Button for the dialog that warns the user they need to turn off screen overlays
         before permissions can be changed. [CHAR LIMIT=NONE] -->
    <string name="screen_overlay_button">Open settings</string>

</resources>