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

Commit ea0f2bc1 authored by Daniel Jarai's avatar Daniel Jarai Committed by Tim Schumacher
Browse files

Fix the HIDE_NON_SYSTEM_OVERLAY_WINDOWS permission definition

Change Ic51ead670fc480e549512ba1d02f49d9c13bc3f0 incorrectly tries making
this permission hidden.
While marking it with @hide and only adding it to api/system-current.txt
was the proper way on Android 6.0, on 4.4, we need to add system APIs to
api/current.txt, without hiding them.

This change adapts this permission definition for 4.4.

Change-Id: Ib2de017d396aa9dcefa91f7eb1ea210be668234d
parent e4365237
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -1884,12 +1884,10 @@
        android:description="@string/permdesc_internalSystemWindow"
        android:protectionLevel="signature" />

    <!-- @SystemApi Allows an application to use
    <!-- Allows an application to use
        {@link android.view.WindowManager.LayoutsParams#PRIVATE_FLAG_HIDE_NON_SYSTEM_OVERLAY_WINDOWS}
        to hide non-system-overlay windows.
        <p>Not for use by third-party applications.
        @hide
    -->
        <p>Not for use by third-party applications. -->
    <permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS"
        android:protectionLevel="signature" />