diff options
author | Jeremy Joslin <jjoslin@google.com> | 2017-04-10 20:41:00 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-04-10 20:41:00 +0000 |
commit | 39b716d0d5c750173276798bea7dadf723521334 (patch) | |
tree | 431c8104189c93e105f87b464e5ff476fe8d6ebd /service | |
parent | a3207c4685e07bafba324f6cc2383f6eed7b5150 (diff) | |
parent | ed71d5209d66544a46a7dc543a0ee94e1be39eab (diff) |
Clarify a local log statement and reduce spam.
am: ed71d5209d
Change-Id: I50f1770ff17873fdf062ebf820ea913230cd16d4
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; } |