From c21bc031ec56b5ab57cf04457c77350dba660ffe Mon Sep 17 00:00:00 2001 From: Mygod Date: Sat, 31 Dec 2022 17:07:30 -0500 Subject: [PATCH] Do not validate against SystemApi --- .../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 20bbff22..483f32c0 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 @@ -421,7 +421,7 @@ data class SoftApConfigurationCompat( it.bridgedModeOpportunisticShutdownTimeoutMillis = getBridgedModeOpportunisticShutdownTimeoutMillis(this) as Long it.vendorElements = getVendorElements(this) as List - it.persistentRandomizedMacAddress = getPersistentRandomizedMacAddress(this) as MacAddress + it.persistentRandomizedMacAddress = getPersistentRandomizedMacAddress(this) as MacAddress? it.allowedAcsChannels = BAND_TYPES.map { bandType -> try { bandType to (getAllowedAcsChannels(this, bandType) as IntArray).toSet()