diff options
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/WifiConfigManager.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/service/java/com/android/server/wifi/WifiConfigManager.java b/service/java/com/android/server/wifi/WifiConfigManager.java index 82ad5b986..d9f3c1a23 100644 --- a/service/java/com/android/server/wifi/WifiConfigManager.java +++ b/service/java/com/android/server/wifi/WifiConfigManager.java @@ -1304,8 +1304,10 @@ public class WifiConfigManager { } config.getNetworkSelectionStatus().setNotRecommended(notRecommended); - localLog("updateNetworkRecommendation: configKey=" + config.configKey() - + " recommended=" + notRecommended); + if (mVerboseLoggingEnabled) { + localLog("updateNetworkRecommendation: configKey=" + config.configKey() + + " notRecommended=" + notRecommended); + } saveToStore(false); return true; } |