From 5109363766aa38691486fe864be86bfd8797fd24 Mon Sep 17 00:00:00 2001 From: Mygod Date: Mon, 4 Oct 2021 23:51:08 -0400 Subject: [PATCH] Fix not calling compat --- .../be/mygod/vpnhotspot/net/wifi/SoftApConfigurationCompat.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/src/main/java/be/mygod/vpnhotspot/net/wifi/SoftApConfigurationCompat.kt b/mobile/src/main/java/be/mygod/vpnhotspot/net/wifi/SoftApConfigurationCompat.kt index 744efcbc..29af489c 100644 --- a/mobile/src/main/java/be/mygod/vpnhotspot/net/wifi/SoftApConfigurationCompat.kt +++ b/mobile/src/main/java/be/mygod/vpnhotspot/net/wifi/SoftApConfigurationCompat.kt @@ -359,7 +359,7 @@ data class SoftApConfigurationCompat( @get:RequiresApi(30) private val staticBuilder by lazy { classBuilder.newInstance() } @RequiresApi(30) - fun testPlatformValidity(channels: SparseIntArray) = setChannels(staticBuilder, channels) + fun testPlatformValidity(channels: SparseIntArray) = setChannelsCompat(staticBuilder, channels) } @Suppress("DEPRECATION")