From 8a277663abe1760dd6ba6bd25545ea18febc0762 Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Mon, 1 Apr 2019 11:16:08 -0700 Subject: [PATCH] WifiManager: setWifiEnabled bypass for older apps For apps targeting older SDK (Compatibility Note: For applications targeting + * {@link android.os.Build.VERSION_CODES#Q} or above, this API will always return {@code false} + * and will have no effect. If apps are targeting an older SDK ( + * {@link android.os.Build.VERSION_CODES#P} or below), they can continue to use this API. */ @Deprecated public boolean setWifiEnabled(boolean enabled) {