From 809ae5be7c4bf5f40850f249298e0bd2c8859a7c Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Fri, 12 Jun 2020 11:16:03 -0700 Subject: ClientModeImpl: Add more logging for stopIpClient Add a log with stack trace to figure out if/why we trigger IpClient.stop() in the midst of a connection attempt. Bug: 157943924 Test: Compiles Change-Id: Iaff4de296fb1f9c1b27827bff78a77d7d645743f --- service/java/com/android/server/wifi/ClientModeImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'service') diff --git a/service/java/com/android/server/wifi/ClientModeImpl.java b/service/java/com/android/server/wifi/ClientModeImpl.java index 5b616dd0a..15ca3c823 100644 --- a/service/java/com/android/server/wifi/ClientModeImpl.java +++ b/service/java/com/android/server/wifi/ClientModeImpl.java @@ -1065,9 +1065,9 @@ public class ClientModeImpl extends StateMachine { } private void stopIpClient() { - if (mVerboseLoggingEnabled) { - log("stopIpClient IpClientWithPreConnection: " + mIpClientWithPreConnection); - } + // TODO(b/157943924): Adding more log to debug the issue. + Log.v(TAG, "stopIpClient IpClientWithPreConnection: " + mIpClientWithPreConnection, + new Throwable()); if (mIpClient != null) { if (mIpClientWithPreConnection) { mIpClient.notifyPreconnectionComplete(false); -- cgit v1.2.3