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

Commit e4aa3f28 authored by Fabien Sanglard's avatar Fabien Sanglard
Browse files

Delete dead AdbDebuggingManager code

There is no handler for "DA" in lib adbd_auth. This code does nothing.

Test: Manual
Fixes: 402927103
Change-Id: I7e12f307e3a3d50e18bda8e197f7341639b85afe
parent af5be854
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -788,7 +788,6 @@ public class AdbDebuggingManager {

        // === Messages we can send to adbd ===========
        static final String MSG_DISCONNECT_DEVICE = "DD";
        static final String MSG_DISABLE_ADBDWIFI = "DA";

        @Nullable @VisibleForTesting AdbKeyStore mAdbKeyStore;

@@ -1093,9 +1092,6 @@ public class AdbDebuggingManager {
                    setAdbConnectionInfo(null);
                    mContext.unregisterReceiver(mBroadcastReceiver);

                    if (mThread != null) {
                        mThread.sendResponse(MSG_DISABLE_ADBDWIFI);
                    }
                    onAdbdWifiServerDisconnected(-1);
                    stopAdbDebuggingThread();
                    break;