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

Commit 7b498ab8 authored by Josh Gao's avatar Josh Gao
Browse files

AdbDebuggingManager: improve logging.

Bug: http://b/159061108
Test: none
Change-Id: Ie1bc4a924bd0443f4566743cc145cefdd07e2052
parent 26dfdc58
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -878,6 +878,7 @@ public class AdbDebuggingManager {

                case MESSAGE_ADB_DENY:
                    if (mThread != null) {
                        Slog.w(TAG, "Denying adb confirmation");
                        mThread.sendResponse("NO");
                        logAdbConnectionChanged(null, AdbProtoEnums.USER_DENIED, false);
                    }
@@ -887,7 +888,7 @@ public class AdbDebuggingManager {
                    String key = (String) msg.obj;
                    if ("trigger_restart_min_framework".equals(
                            SystemProperties.get("vold.decrypt"))) {
                        Slog.d(TAG, "Deferring adb confirmation until after vold decrypt");
                        Slog.w(TAG, "Deferring adb confirmation until after vold decrypt");
                        if (mThread != null) {
                            mThread.sendResponse("NO");
                            logAdbConnectionChanged(key, AdbProtoEnums.DENIED_VOLD_DECRYPT, false);