[AWARE] Replace possibly legit error code log wtf with e
The disable command should not fail - but if it does there could
be legit reasons - e.g. NAN already disabled. No reason to spread
WTFs around.
Bug: 62619907
Test: builds, runs without messages
Change-Id: I06c8c90d7566c21d04c97a131bb29d42c960c99b
diff --git a/service/java/com/android/server/wifi/aware/WifiAwareStateManager.java b/service/java/com/android/server/wifi/aware/WifiAwareStateManager.java
index fd6303a..8ec9836 100644
--- a/service/java/com/android/server/wifi/aware/WifiAwareStateManager.java
+++ b/service/java/com/android/server/wifi/aware/WifiAwareStateManager.java
@@ -2474,11 +2474,11 @@
/*
* do nothing:
* - success: was waiting so that don't enable while disabling
- * - fail: should never happen, serious error (nothing to be done)
+ * - fail: shouldn't happen (though can if already disabled for instance)
*/
if (reason != NanStatusType.SUCCESS) {
- Log.wtf(TAG, "onDisableResponseLocal: FAILED!? command=" + command
- + ", reason=" + reason);
+ Log.e(TAG, "onDisableResponseLocal: FAILED!? command=" + command + ", reason="
+ + reason);
}
}