Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b157ddb8 authored by Prameet Shah's avatar Prameet Shah Committed by Automerger Merge Worker
Browse files

Merge "Fix a couple of NPEs in AdbDebuggingManager.AdbDebuggingHandler" am:...

Merge "Fix a couple of NPEs in AdbDebuggingManager.AdbDebuggingHandler" am: 99468347 am: a4c70add

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2189719



Change-Id: Ib3c5c7c6d01b60947ba27492b9ed36a4fc1bbd93
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 8b2c3672 a4c70add
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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())) {