Fix#1357 Dismiss foreground notification automatically

This commit is contained in:
Adeel Zafar 2019-08-13 15:44:25 +05:00
parent 6f45144482
commit 635bc4ee8d

View File

@ -149,6 +149,7 @@ public class HotspotService extends Service {
webServerHelper.stopAndroidWebServer(serverStateListener);
stopForeground(true);
stopSelf();
notificationManager.cancel(HOTSPOT_NOTIFICATION_ID);
}
@Override