From eb8599c4e3f58aa30c3e106e25fe3813f1e5e046 Mon Sep 17 00:00:00 2001 From: markchien Date: Fri, 29 Oct 2021 14:45:14 +0800 Subject: [PATCH] Log received wifiP2p intent into dumpsys for debugging Bug: 201480425 Test: m Change-Id: I527c894eff3c068080995333ab8b372ab2aa38a0 --- .../src/com/android/networkstack/tethering/Tethering.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Tethering/src/com/android/networkstack/tethering/Tethering.java b/Tethering/src/com/android/networkstack/tethering/Tethering.java index 1559f3b478..c9428998a0 100644 --- a/Tethering/src/com/android/networkstack/tethering/Tethering.java +++ b/Tethering/src/com/android/networkstack/tethering/Tethering.java @@ -1140,9 +1140,7 @@ public class Tethering { final WifiP2pGroup group = (WifiP2pGroup) intent.getParcelableExtra(WifiP2pManager.EXTRA_WIFI_P2P_GROUP); - if (VDBG) { - Log.d(TAG, "WifiP2pAction: P2pInfo: " + p2pInfo + " Group: " + group); - } + mLog.i("WifiP2pAction: P2pInfo: " + p2pInfo + " Group: " + group); // if no group is formed, bring it down if needed. if (p2pInfo == null || !p2pInfo.groupFormed) {