Skip to content

Commit

Permalink
Update ForegroundService.java
Browse files Browse the repository at this point in the history
  • Loading branch information
eulogy14 authored Dec 9, 2019
1 parent 1a0383c commit 068aaf1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/android/ForegroundService.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ Licensed to the Apache Software Foundation (ASF) under one
import static android.os.PowerManager.PARTIAL_WAKE_LOCK;
import android.app.NotificationChannel;

public static final String NOTIFICATION_CHANNEL_ID_SERVICE = "de.appplant.cordova.plugin.background";
public static final String NOTIFICATION_CHANNEL_ID_INFO = "com.package.download_info";

/**
* Puts the service in a foreground state, where the system considers it to be
Expand All @@ -51,6 +49,9 @@ Licensed to the Apache Software Foundation (ASF) under one
*/
public class ForegroundService extends Service {

public static final String NOTIFICATION_CHANNEL_ID_SERVICE = "de.appplant.cordova.plugin.background";
public static final String NOTIFICATION_CHANNEL_ID_INFO = "com.package.download_info";

// Fixed ID for the 'foreground' notification
public static final int NOTIFICATION_ID = -574543954;

Expand Down

0 comments on commit 068aaf1

Please sign in to comment.