1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-08-13 16:53:50 -04:00

IRCService: stopForegroundCompat(): Set foreground false

This commit is contained in:
Sebastian Kaspari 2010-04-13 22:04:46 +02:00
parent cb14889941
commit bac22d9abc

View File

@ -201,6 +201,8 @@ public class IRCService extends Service
*/ */
private void stopForegroundCompat(int id) private void stopForegroundCompat(int id)
{ {
foreground = false;
// If we have the new stopForeground API, then use it. // If we have the new stopForeground API, then use it.
if (mStopForeground != null) { if (mStopForeground != null) {
mStopForegroundArgs[0] = Boolean.TRUE; mStopForegroundArgs[0] = Boolean.TRUE;