Merge "Improve javadoc on REQUEST_COMPANION_RUN_IN_BACKGROUND." into sc-dev am: a7aa1caaca

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

Change-Id: I5a2d37cbafc52af9c27deebd83d551d6873922cf
This commit is contained in:
Makoto Onuki
2021-05-26 21:14:49 +00:00
committed by Automerger Merge Worker

View File

@@ -2890,7 +2890,13 @@
<permission android:name="android.permission.SET_DISPLAY_OFFSET"
android:protectionLevel="signature|privileged" />
<!-- Allows a companion app to run in the background.
<!-- Allows a companion app to run in the background. This permission implies
{@link android.Manifest.permission#REQUEST_COMPANION_START_FOREGROUND_SERVICES_FROM_BACKGROUND},
and allows to start a foreground service from the background.
If an app does not have to run in the background, but only needs to start a foreground
service from the background, consider using
{@link android.Manifest.permission#REQUEST_COMPANION_START_FOREGROUND_SERVICES_FROM_BACKGROUND},
which is less powerful.
<p>Protection level: normal
-->
<permission android:name="android.permission.REQUEST_COMPANION_RUN_IN_BACKGROUND"
@@ -2900,6 +2906,7 @@
<!-- Allows a companion app to start a foreground service from the background.
{@see android.Manifest.permission#REQUEST_COMPANION_RUN_IN_BACKGROUND}
<p>Protection level: normal
-->
<permission android:name="android.permission.REQUEST_COMPANION_START_FOREGROUND_SERVICES_FROM_BACKGROUND"
android:protectionLevel="normal"/>