mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-16 22:15:08 -05:00
IRCService: stopForegroundCompat(): Set foreground false
This commit is contained in:
parent
cb14889941
commit
bac22d9abc
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user