mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 20:24:03 -04:00
Fix#1357 Dismiss foreground notification automatically
This commit is contained in:
parent
6f45144482
commit
635bc4ee8d
@ -149,6 +149,7 @@ public class HotspotService extends Service {
|
||||
webServerHelper.stopAndroidWebServer(serverStateListener);
|
||||
stopForeground(true);
|
||||
stopSelf();
|
||||
notificationManager.cancel(HOTSPOT_NOTIFICATION_ID);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user