Skip to content

Commit

Permalink
Merge pull request naman14#357 from naman14/revert-343-buildfix
Browse files Browse the repository at this point in the history
Revert "fixing clearing notification bar "
  • Loading branch information
naman14 authored Jan 16, 2018
2 parents ad967cc + 08ceecd commit bec97dd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/src/main/java/com/naman14/timber/MusicService.java
Original file line number Diff line number Diff line change
Expand Up @@ -431,11 +431,7 @@ public void onStop() {
mSession.setFlags(MediaSessionCompat.FLAG_HANDLES_TRANSPORT_CONTROLS
| MediaSessionCompat.FLAG_HANDLES_MEDIA_BUTTONS);
}
@Override
public void onTaskRemoved(Intent rootIntent){
super.onTaskRemoved(rootIntent);
cancelNotification();
}

@Override
public void onDestroy() {
if (D) Log.d(TAG, "Destroying service");
Expand Down

0 comments on commit bec97dd

Please sign in to comment.