Skip to content
This repository has been archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
fix(java): Move stopForegroundService() to onStop event (#294)
Browse files Browse the repository at this point in the history
  • Loading branch information
jarredwitt authored and tanguyantoine committed Aug 26, 2019
1 parent f0355b7 commit e9b4679
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ public void onPlay() {
}

public void onPause() {
stopForegroundService();
sendEvent(context, "pause", null);
}

public void onStop() {
stopForegroundService();
sendEvent(context, "stop", null);
}

Expand Down

0 comments on commit e9b4679

Please sign in to comment.