mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-26 06:11:19 +00:00
Fix notification not being cancelled on app shutdown (#81)
Fix notification not being cancelled on app shutdown if the app was continously in DISABLED state.
This commit is contained in:
parent
c224bcb04a
commit
79d0d7cc4c
1 changed files with 2 additions and 0 deletions
|
@ -171,6 +171,8 @@ public class NotificationHandler {
|
|||
Log.v(TAG, "Updating notification");
|
||||
mNotificationManager.notify(idToShow, builder.build());
|
||||
}
|
||||
} else {
|
||||
mNotificationManager.cancel(idToShow);
|
||||
}
|
||||
mNotificationManager.cancel(idToCancel);
|
||||
|
||||
|
|
Loading…
Reference in a new issue