summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2010-09-03 15:15:50 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-09-03 15:15:50 -0700
commitdf3a0f50c3480911e366c8c0781b0463fe063e82 (patch)
treea3880612ec71facb671a01c7f1678a978e2e7ffb
parente1aa82a4228d009537693253ba3a0113abbf5ab8 (diff)
parent170bae7d832e0fd68e1ee9d96893b97e1dd98c52 (diff)
downloadframeworks_base-df3a0f50c3480911e366c8c0781b0463fe063e82.zip
frameworks_base-df3a0f50c3480911e366c8c0781b0463fe063e82.tar.gz
frameworks_base-df3a0f50c3480911e366c8c0781b0463fe063e82.tar.bz2
Merge "Improve doc." into gingerbread
-rw-r--r--core/java/android/app/Notification.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index 5525ce3..63ad92a 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -109,9 +109,14 @@ public class Notification implements Parcelable
public PendingIntent deleteIntent;
/**
- * An intent to launch instead of posting the notification to the status bar. Only for use with
- * extremely high-priority notifications demanding the user's attention, such as an incoming
+ * An intent to launch instead of posting the notification to the status bar.
+ * Only for use with extremely high-priority notifications demanding the user's
+ * <strong>immediate</strong>attention, such as an incoming phone call or
+ * alarm clock that the user has explicitly set to a particular time.
* call (handled in the core Android Phone app with a full-screen Activity).
+ * If this facility is used for something else, please give the user an option
+ * to turn it off and use a normal notification, as this can be extremely
+ * disruptive.
*/
public PendingIntent fullScreenIntent;