fixed regression that would not dismiss video encoding notification

This commit is contained in:
Daniel Gultsch 2018-09-16 10:07:33 +02:00
parent 0977f300dd
commit febd9cc3e0

View file

@ -1091,9 +1091,9 @@ public class XmppConnectionService extends Service {
status = true;
} else {
stopForeground(true);
mNotificationService.dismissForcedForegroundNotification(); //if the channel was changed the previous call might fail
status = false;
}
mNotificationService.dismissForcedForegroundNotification(); //if the channel was changed the previous call might fail
Log.d(Config.LOGTAG,"ForegroundService: "+(status?"on":"off"));
}