diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 64b100f838ba8..30ddd20b312c9 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -9804,10 +9804,6 @@ public class Notification implements Parcelable *

Apps sending bubbles may set this flag so that the bubble is posted without * the associated notification in the notification shade.

* - *

Apps sending bubbles can only apply this flag when the app is in the foreground, - * otherwise the flag is not respected. The app is considered foreground if it is visible - * and on the screen, note that a foreground service does not qualify.

- * *

Generally this flag should only be set by the app if the user has performed an * action to request or create a bubble, or if the user has seen the content in the * notification and the notification is no longer relevant.

@@ -9958,10 +9954,6 @@ public class Notification implements Parcelable *

Apps sending bubbles may set this flag so that the bubble is posted without * the associated notification in the notification shade.

* - *

Apps sending bubbles can only apply this flag when the app is in the foreground, - * otherwise the flag is not respected. The app is considered foreground if it is visible - * and on the screen, note that a foreground service does not qualify.

- * *

Generally the app should only set this flag if the user has performed an * action to request or create a bubble, or if the user has seen the content in the * notification and the notification is no longer relevant.

@@ -10349,11 +10341,6 @@ public class Notification implements Parcelable * Sets whether the bubble will be posted without the associated notification in * the notification shade. * - *

This flag has no effect if the app posting the bubble is not in the foreground. - * The app is considered foreground if it is visible and on the screen, note that - * a foreground service does not qualify. - *

- * *

Generally, this flag should only be set if the user has performed an action to * request or create a bubble, or if the user has seen the content in the notification * and the notification is no longer relevant.