From 293977bdb028e2aa893fbeb370e20132646094a9 Mon Sep 17 00:00:00 2001 From: Griff Hazen Date: Mon, 28 Apr 2014 08:37:20 -0700 Subject: [PATCH] Fix the doc for Notification.FLAG_ONLY_ALERT_ONCE. The logic was opposite. Change-Id: I62e0b1e6701a4c9990119a1b94918e64783e9b1a --- core/java/android/app/Notification.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index cce6fc42da58c..161d953f43379 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -314,8 +314,8 @@ public class Notification implements Parcelable /** * Bit to be bitwise-ored into the {@link #flags} field that should be - * set if you want the sound and/or vibration play each time the - * notification is sent, even if it has not been canceled before that. + * set if you would only like the sound, vibrate and ticker to be played + * if the notification was not already showing. */ public static final int FLAG_ONLY_ALERT_ONCE = 0x00000008;