Commit ab5b9b81 by TakeItEasyJQ

timer cancel

parent 9f390881
...@@ -359,6 +359,8 @@ public class NotificationService extends Service { ...@@ -359,6 +359,8 @@ public class NotificationService extends Service {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
// stopForeground(STOP_FOREGROUND_REMOVE); // stopForeground(STOP_FOREGROUND_REMOVE);
} }
timer.cancel();
timer.purge();
stopSelf(); stopSelf();
return super.onUnbind(intent); return super.onUnbind(intent);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment