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

Commit 882e46b5 authored by Makoto Onuki's avatar Makoto Onuki Committed by Amith Yamasani
Browse files

Update javadoc on START_FOREGROUND_SERVICES_FROM_BACKGROUND.

Bug: 182901904
Test: Treehugger
Change-Id: I41f4e1905c713544ceb9d4dec25579dab8de84a3
parent 7c4f635b
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -2753,8 +2753,12 @@
    <permission android:name="android.permission.START_ACTIVITIES_FROM_BACKGROUND"
        android:protectionLevel="signature|privileged|vendorPrivileged|oem|verifier" />

    <!-- Allows an application to start foreground services from background, can only be granted to
         privileged apps or app that is SMS/EMERGENCY/SYSTEM GALLERY roles. -->
    <!-- Allows an application to start foreground services from the background at any time.
         <em>This permission is not for use by third-party applications</em>,
         with the only exception being if the app is the default SMS app.
         Otherwise, it's only usable by privileged apps, app verifier app, and apps with
         any of the EMERGENCY or SYSTEM GALLERY roles.
         -->
    <permission android:name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND"
                android:protectionLevel="signature|privileged|vendorPrivileged|oem|verifier|role"/>