Fix not calling compat

This commit is contained in:
Mygod
2021-10-04 23:51:08 -04:00
parent b44d58be94
commit 5109363766

View File

@@ -359,7 +359,7 @@ data class SoftApConfigurationCompat(
@get:RequiresApi(30) @get:RequiresApi(30)
private val staticBuilder by lazy { classBuilder.newInstance() } private val staticBuilder by lazy { classBuilder.newInstance() }
@RequiresApi(30) @RequiresApi(30)
fun testPlatformValidity(channels: SparseIntArray) = setChannels(staticBuilder, channels) fun testPlatformValidity(channels: SparseIntArray) = setChannelsCompat(staticBuilder, channels)
} }
@Suppress("DEPRECATION") @Suppress("DEPRECATION")