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

Commit fd1a91f5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Update javadoc on START_FOREGROUND_SERVICES_FROM_BACKGROUND." into sc-dev am: ac5aec91

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14019732

Change-Id: I5199b425888353bbfa5c4873e9a5f5ed9f5af3bf
parents 8bd9bf4f ac5aec91
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -2758,8 +2758,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"/>