mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 03:54:18 -04:00
Refactor getSocketAddress()
This commit is contained in:
parent
ce0f5ed06c
commit
4acc15132f
@ -100,7 +100,7 @@ public class HotspotService extends Service {
|
|||||||
notificationManager.cancel(HOTSPOT_NOTIFICATION_ID);
|
notificationManager.cancel(HOTSPOT_NOTIFICATION_ID);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
zimHostCallbacks.onServerStarted(webServerHelper.getCompleteAddress());
|
zimHostCallbacks.onServerStarted(webServerHelper.getSocketAddress());
|
||||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
|
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
|
||||||
startForegroundNotificationHelper();
|
startForegroundNotificationHelper();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user