Refactor getSocketAddress()

This commit is contained in:
Adeel Zafar 2019-08-19 02:11:04 +05:00
parent ce0f5ed06c
commit 4acc15132f

View File

@ -100,7 +100,7 @@ public class HotspotService extends Service {
notificationManager.cancel(HOTSPOT_NOTIFICATION_ID);
}
} else {
zimHostCallbacks.onServerStarted(webServerHelper.getCompleteAddress());
zimHostCallbacks.onServerStarted(webServerHelper.getSocketAddress());
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
startForegroundNotificationHelper();
}