Fix build.
This commit is contained in:
@@ -342,8 +342,9 @@ public abstract class Service extends ContextWrapper implements ComponentCallbac
|
|||||||
/**
|
/**
|
||||||
* Remove this service from foreground state, allowing it to be killed if
|
* Remove this service from foreground state, allowing it to be killed if
|
||||||
* more memory is needed.
|
* more memory is needed.
|
||||||
* @param keepNotification If true, the notification previously provided
|
* @param removeNotification If true, the notification previously provided
|
||||||
* to {@link #startForeground} will remain displayed.
|
* 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)
|
* @see #startForeground(int, Notification)
|
||||||
*/
|
*/
|
||||||
public final void stopForeground(boolean removeNotification) {
|
public final void stopForeground(boolean removeNotification) {
|
||||||
|
|||||||
Reference in New Issue
Block a user