Add label and description for HIDE_OVERLAY_WINDOWS

Bug: 260631954
Test: verified that new string shows up under
Settings>Apps>Contacts>Permissions>All Permissions

Change-Id: Ic95e19866f2258f4494c75916393fb80194cee11
This commit is contained in:
Linus Tufvesson
2022-12-14 11:20:22 +01:00
parent 9adfd2be03
commit 243fd14c55
2 changed files with 7 additions and 0 deletions

View File

@@ -3421,6 +3421,8 @@
<!-- Allows an app to prevent non-system-overlay windows from being drawn on top of it -->
<permission android:name="android.permission.HIDE_OVERLAY_WINDOWS"
android:label="@string/permlab_hideOverlayWindows"
android:description="@string/permdesc_hideOverlayWindows"
android:protectionLevel="normal" />
<!-- ================================== -->

View File

@@ -1122,6 +1122,11 @@
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
<string name="permdesc_systemAlertWindow">This app can appear on top of other apps or other parts of the screen. This may interfere with normal app usage and change the way that other apps appear.</string>
<!-- Title of hide overlay windows permission, which allows an app to hide overlay windows from other apps. -->
<string name="permlab_hideOverlayWindows">hide other apps overlays</string>
<!-- Description of hide overlay windows permission, which allows an app to prevent overlays from being drawn on top of it. [CHAR LIMIT=NONE] -->
<string name="permdesc_hideOverlayWindows">This app can request that the system hides overlays originating from apps from being shown on top of it.</string>
<!-- Title of an application permission, listed so the user can choose whether they want to allow the application to do this. -->
<string name="permlab_runInBackground">run in the background</string>
<!-- Description of an application permission, listed so the user can choose whether they want to allow the application to do this. -->