[adbwifi] Add qstile for wireless debugging.
Bug: 153275926 Test: make RunSettingsRoboTests ROBOTEST_FILTER=WirelessDebuggingTest Change-Id: I6b381a7e29beec5c9c345b374e127caabdb674db
This commit is contained in:
@@ -135,7 +135,10 @@ public class WirelessDebuggingPreferenceController extends DeveloperOptionsPrefe
|
||||
((MasterSwitchPreference) preference).setChecked(enabled);
|
||||
}
|
||||
|
||||
static boolean isWifiConnected(Context context) {
|
||||
/**
|
||||
* Returns true if connected to Wi-Fi network.
|
||||
*/
|
||||
public static boolean isWifiConnected(Context context) {
|
||||
ConnectivityManager cm = (ConnectivityManager) context.getSystemService(
|
||||
Context.CONNECTIVITY_SERVICE);
|
||||
if (cm != null) {
|
||||
|
Reference in New Issue
Block a user