diff options
author | Roshan Pius <rpius@google.com> | 2020-06-12 11:16:03 -0700 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2020-06-12 11:17:35 -0700 |
commit | 809ae5be7c4bf5f40850f249298e0bd2c8859a7c (patch) | |
tree | b2b35c222447424307662f8c4794b617084b76c9 /service | |
parent | a4fc5402d0a52aff7092160b7e73d071a53ef4a4 (diff) |
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
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/ClientModeImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
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); |