summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Julia Reynolds <juliacr@google.com> 2022-04-13 20:10:12 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2022-04-13 20:10:12 +0000
commit35a4d735449f7c57d6e38c18dd0a692dbb9ed24c (patch)
treed1d217a0c0ceca26b82aec21aad0eeecd2c18977
parentd8a7e13af95c9b10296586806d94a8f28b7490b9 (diff)
parentcd2f1c2a9ceea7bec202fbeb77c5449249717c38 (diff)
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>
-rw-r--r--core/java/android/app/Notification.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index 6bb35db6e712..bfb11682e89c 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -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