Skip to content
This repository has been archived by the owner on Jan 14, 2018. It is now read-only.

Notification ID should be used when starting a service in the foreground not startId #134

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public final void onStart(final Intent intent, final int startId) {
new NotificationRequestListener());

if (foreground) {
startForeground(startId, onCreateForegroundNotification());
startForeground(notificationId, onCreateForegroundNotification());
}
}

Expand Down