IRCService: stop foreground if service is stopping
This commit is contained in:
parent
215a7bb062
commit
4cd613debf
|
@ -342,6 +342,7 @@ public class IRCService extends Service
|
||||||
|
|
||||||
if (shutDown) {
|
if (shutDown) {
|
||||||
foreground = false;
|
foreground = false;
|
||||||
|
stopForegroundCompat(R.string.app_name);
|
||||||
stopSelf();
|
stopSelf();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue