Merge "Update FLAG_ONLY_ALERT_ONCE docs" am: e3a1682e0b am: bd0f7d47eb am: cd2f1c2a9c

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

Change-Id: I16be1f26ff7eee520901f7ac149232ca2048328b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Julia Reynolds
2022-04-13 20:10:12 +00:00
committed by Automerger Merge Worker

View File

@@ -628,6 +628,9 @@ public class Notification implements Parcelable
* Bit to be bitwise-ored into the {@link #flags} field that should be
* set if you would only like the sound, vibrate and ticker to be played
* if the notification was not already showing.
*
* Note that using this flag will stop any ongoing alerting behaviour such
* as sound, vibration or blinking notification LED.
*/
public static final int FLAG_ONLY_ALERT_ONCE = 0x00000008;
@@ -4633,6 +4636,9 @@ public class Notification implements Parcelable
* Set this flag if you would only like the sound, vibrate
* and ticker to be played if the notification is not already showing.
*
* Note that using this flag will stop any ongoing alerting behaviour such
* as sound, vibration or blinking notification LED.
*
* @see Notification#FLAG_ONLY_ALERT_ONCE
*/
@NonNull