1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-30 04:42:18 -05:00

IRCService: stop foreground if service is stopping

This commit is contained in:
Sebastian Kaspari 2010-04-17 23:35:53 +02:00
parent 215a7bb062
commit 4cd613debf

View File

@ -342,6 +342,7 @@ public class IRCService extends Service
if (shutDown) { if (shutDown) {
foreground = false; foreground = false;
stopForegroundCompat(R.string.app_name);
stopSelf(); stopSelf();
} }
} }