diff --git a/core/java/android/app/Service.java b/core/java/android/app/Service.java index ce72e3f4b6217..2dedaa7adeda2 100644 --- a/core/java/android/app/Service.java +++ b/core/java/android/app/Service.java @@ -342,8 +342,9 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac /** * Remove this service from foreground state, allowing it to be killed if * more memory is needed. - * @param keepNotification If true, the notification previously provided - * to {@link #startForeground} will remain displayed. + * @param removeNotification If true, the notification previously provided + * to {@link #startForeground} will be removed. Otherwise it will remain + * until a later call removes it (or the service is destroyed). * @see #startForeground(int, Notification) */ public final void stopForeground(boolean removeNotification) {