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

Commit 6f56340f authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "Update description of FSI behavior" into main

parents f3066d0c 030bfe15
Loading
Loading
Loading
Loading
+16 −5
Original line number Original line Diff line number Diff line
@@ -4649,14 +4649,25 @@ public class Notification implements Parcelable
         * to turn it off and use a normal notification, as this can be extremely
         * to turn it off and use a normal notification, as this can be extremely
         * disruptive.
         * disruptive.
         *
         *
         * <p>
         * The system UI may choose to display a heads-up notification, instead of
         * launching this intent, while the user is using the device.
         * </p>
         * <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>
         * <p>
         * Prior to {@link Build.VERSION_CODES#TIRAMISU}, the system may display a
         * heads up notification (which may display on screen longer than other heads up
         * notifications), instead of launching the intent, while the user is using the device.
         * From {@link Build.VERSION_CODES#TIRAMISU},
         * the system UI will display a heads up notification, instead of launching this intent,
         * while the user is using the device. This notification will display with emphasized
         * action buttons. If the posting app holds
         * {@link android.Manifest.permission#USE_FULL_SCREEN_INTENT}, then the heads
         * up notification will appear persistently until the user dismisses or snoozes it, or
         * the app cancels it. If the posting app does not hold
         * {@link android.Manifest.permission#USE_FULL_SCREEN_INTENT}, then the notification will
         * appear as heads up notification even when the screen is locked or turned off, and this
         * notification will only be persistent for 60 seconds.
         * </p>
         * <p>
         * To be launched as a full screen intent, the notification must also be posted to a
         * 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.
         * channel with importance level set to IMPORTANCE_HIGH or higher.
         * </p>
         * </p>