Merge "Fix a couple of NPEs in AdbDebuggingManager.AdbDebuggingHandler" into tm-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
382b7c8be1
@@ -667,6 +667,7 @@ public class AdbDebuggingManager {
|
||||
+ " Not enabling adbwifi.");
|
||||
Settings.Global.putInt(mContentResolver,
|
||||
Settings.Global.ADB_WIFI_ENABLED, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
// Check for network change
|
||||
@@ -675,6 +676,7 @@ public class AdbDebuggingManager {
|
||||
Slog.e(TAG, "Unable to get the wifi ap's BSSID. Disabling adbwifi.");
|
||||
Settings.Global.putInt(mContentResolver,
|
||||
Settings.Global.ADB_WIFI_ENABLED, 0);
|
||||
return;
|
||||
}
|
||||
synchronized (mAdbConnectionInfo) {
|
||||
if (!bssid.equals(mAdbConnectionInfo.getBSSID())) {
|
||||
|
||||
Reference in New Issue
Block a user