summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2017-05-25 12:59:37 -0700
committerRoshan Pius <rpius@google.com>2017-05-25 13:02:47 -0700
commitc780fa17703f9bb34f370e9b9161721f20c3f733 (patch)
tree97ddf50db9e46a180b7d482637d4b10b9349cb21 /service
parent78156cd914c78f7bd427b85d4b5ebf338d8166c3 (diff)
HalDeviceManager: Reduce severity of error log in isSupported()
When WSM class is initialized by WifiServiceImpl, we first try to cleanup state by invoke WifiNative.teardown(). This in turn invokes HalDeviceManager.isSupported() even before HalDeviceManager.initialize() is invoked. So, don't raise wtf's for this error to prevent unnecessary wtf spamming on every device boot up. Bug: 62089978 Test: Verified that only an error log is seen now on bootup. Change-Id: I809c706717e25c784ffe7364d4351fa44ea2707d
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/HalDeviceManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/HalDeviceManager.java b/service/java/com/android/server/wifi/HalDeviceManager.java
index b34c944a1..a5e127395 100644
--- a/service/java/com/android/server/wifi/HalDeviceManager.java
+++ b/service/java/com/android/server/wifi/HalDeviceManager.java
@@ -601,7 +601,7 @@ public class HalDeviceManager {
synchronized (mLock) {
if (mServiceManager == null) {
- Log.wtf(TAG, "isSupported: called but mServiceManager is null!?");
+ Log.e(TAG, "isSupported: called but mServiceManager is null!?");
return false;
}
try {