Merge "Remove doc saying setSuppressNotification requires being in foreground" into sc-dev am: 81cac3a9f1

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

Change-Id: I6a498b1f289aff6fbfe80ecd1aadd30a73a1fb97
This commit is contained in:
Mady Mellor
2021-06-02 16:52:42 +00:00
committed by Automerger Merge Worker

View File

@@ -9804,10 +9804,6 @@ public class Notification implements Parcelable
* <p>Apps sending bubbles may set this flag so that the bubble is posted <b>without</b>
* the associated notification in the notification shade.</p>
*
* <p>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.</p>
*
* <p>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. </p>
@@ -9958,10 +9954,6 @@ public class Notification implements Parcelable
* <p>Apps sending bubbles may set this flag so that the bubble is posted <b>without</b>
* the associated notification in the notification shade.</p>
*
* <p>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.</p>
*
* <p>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. </p>
@@ -10349,11 +10341,6 @@ public class Notification implements Parcelable
* Sets whether the bubble will be posted <b>without</b> the associated notification in
* the notification shade.
*
* <p>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.
* </p>
*
* <p>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.</p>