Merge "Document fullScreenIntent requires IMPORTANCE_HIGH" into tm-qpr-dev am: a9a1ba19c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20069356 Change-Id: Ia40cfae3c149f3069fd2b201d1b75c61cef31d90 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
committed by
Automerger Merge Worker
commit
fdfc0d81d6
@@ -4453,6 +4453,10 @@ public class Notification implements Parcelable
|
|||||||
* <p>Apps targeting {@link Build.VERSION_CODES#Q} and above will have to request
|
* <p>Apps targeting {@link Build.VERSION_CODES#Q} and above will have to request
|
||||||
* a permission ({@link android.Manifest.permission#USE_FULL_SCREEN_INTENT}) in order to
|
* a permission ({@link android.Manifest.permission#USE_FULL_SCREEN_INTENT}) in order to
|
||||||
* use full screen intents.</p>
|
* use full screen intents.</p>
|
||||||
|
* <p>
|
||||||
|
* To be launched as a full screen intent, the notification must also be posted to a
|
||||||
|
* channel with importance level set to IMPORTANCE_HIGH or higher.
|
||||||
|
* </p>
|
||||||
*
|
*
|
||||||
* @param intent The pending intent to launch.
|
* @param intent The pending intent to launch.
|
||||||
* @param highPriority Passing true will cause this notification to be sent
|
* @param highPriority Passing true will cause this notification to be sent
|
||||||
|
|||||||
Reference in New Issue
Block a user