Handle deprecation of WIFI_MODE_FULL_HIGH_PERF

This commit is contained in:
Mygod
2023-06-08 19:39:41 -04:00
parent 29dd69e035
commit 0b87e1461f
2 changed files with 4 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ class WifiDoubleLock(lockType: Int) : AutoCloseable {
@Deprecated("This constant was deprecated in API level Q.\n" +
"This API is non-functional and will have no impact.")
Full(WifiManager.WIFI_MODE_FULL),
@Suppress("DEPRECATION")
HighPerf(WifiManager.WIFI_MODE_FULL_HIGH_PERF),
@RequiresApi(29)
LowLatency(WifiManager.WIFI_MODE_FULL_LOW_LATENCY, true),