diff --git a/mobile/build.gradle b/mobile/build.gradle index 4871e3cf..000ae5ac 100644 --- a/mobile/build.gradle +++ b/mobile/build.gradle @@ -19,8 +19,8 @@ android { minSdkVersion 21 targetSdkVersion 29 resConfigs "ru", "zh-rCN" - versionCode 206 - versionName '2.4.6' + versionCode 207 + versionName '2.5.0' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" javaCompileOptions { annotationProcessorOptions { diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt index f478836c..ac9e8f1a 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/RepeaterService.kt @@ -337,7 +337,8 @@ class RepeaterService : Service(), CoroutineScope, WifiP2pManager.ChannelListene DebugHelper.log(TAG, "P2P connection changed: $info\n$group") when { !info.groupFormed || !info.isGroupOwner || !group.isGroupOwner -> { - if (routingManager != null) cleanLocked() // P2P shutdown, else other groups changing before start, ignore + if (routingManager != null) cleanLocked() + // P2P shutdown, else other groups changing before start, ignore } routingManager != null -> { binder.group = group