From 2e6de8fdccf71dc733864c1ea757182cc13303ab Mon Sep 17 00:00:00 2001 From: Scott Main Date: Tue, 30 Apr 2013 10:51:12 -0700 Subject: add notice to not use 0 in startForeground(). also delete some obsolete back-compat tips for <=donut bug: 8746126 Change-Id: I3ee966647aa2c9f572e6f02eeabfc2cf925a031f --- core/java/android/app/Service.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/java/android') diff --git a/core/java/android/app/Service.java b/core/java/android/app/Service.java index 4fbca7318c27..396774090515 100644 --- a/core/java/android/app/Service.java +++ b/core/java/android/app/Service.java @@ -633,7 +633,7 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac * * @param id The identifier for this notification as per * {@link NotificationManager#notify(int, Notification) - * NotificationManager.notify(int, Notification)}. + * NotificationManager.notify(int, Notification)}; must not be 0. * @param notification The Notification to be displayed. * * @see #stopForeground(boolean) -- cgit v1.2.3