diff options
author | Jeremy Joslin <jjoslin@google.com> | 2017-04-10 21:03:58 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-04-10 21:03:58 +0000 |
commit | 38d74b3205d3a01818f25244a49a9456c004842d (patch) | |
tree | d5a34e4cd44c18e7d268b935623082a5915c5615 /service | |
parent | 4776ec875d92edd7ed00d739720ed08c7894bc8a (diff) | |
parent | 39b716d0d5c750173276798bea7dadf723521334 (diff) |
Clarify a local log statement and reduce spam. am: ed71d5209d
am: 39b716d0d5
Change-Id: I2cb7d6b44d4f9f3ed54db69d83290457d20c4e94
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; } |