diff options
| author | 2022-09-29 14:36:16 +0000 | |
|---|---|---|
| committer | 2022-09-29 14:36:16 +0000 | |
| commit | d8d66912fed9c538e658f345e26bb6fd3a9c4eab (patch) | |
| tree | 196c485cf34177803ebcbc91167a6b1de887db1e | |
| parent | d67a42d4ae7030077e77848f761cd680b55f9c4e (diff) | |
| parent | fdfc0d81d625c249dfafc2b708a6b2077afaa28b (diff) | |
Merge "Document fullScreenIntent requires IMPORTANCE_HIGH" into tm-qpr-dev am: a9a1ba19c7 am: fdfc0d81d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20069356
Change-Id: I71954f13cd18f3240b6eaae9a7e19b3306f27273
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | core/java/android/app/Notification.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 9bbebc85255a..5695874e6100 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -4452,6 +4452,10 @@ public class Notification implements Parcelable * <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 * 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 highPriority Passing true will cause this notification to be sent |