summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-12-20 18:51:25 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-12-20 18:51:25 +0000
commitc6f22261495a706bd8e1c9c260314eed9db92752 (patch)
tree6797b3d0030f8d9d877edaaefc779dc285dc0b58
parentfaf827aff0ffc958a36c69af534ea0b55ba15040 (diff)
parent8aaddc110a9fcc3202d22571e954e8462c4bc03d (diff)
downloadandroid_packages_apps_SettingsIntelligence-c6f22261495a706bd8e1c9c260314eed9db92752.tar.gz
android_packages_apps_SettingsIntelligence-c6f22261495a706bd8e1c9c260314eed9db92752.tar.bz2
android_packages_apps_SettingsIntelligence-c6f22261495a706bd8e1c9c260314eed9db92752.zip
Snap for 4511918 from 8aaddc110a9fcc3202d22571e954e8462c4bc03d to pi-release
Change-Id: If93672e3a4a4ea8f712ce16c832e3f57f1d8b85d
-rw-r--r--src/com/android/settings/intelligence/instrumentation/LocalEventLogger.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/android/settings/intelligence/instrumentation/LocalEventLogger.java b/src/com/android/settings/intelligence/instrumentation/LocalEventLogger.java
index 22e9eb7..395d504 100644
--- a/src/com/android/settings/intelligence/instrumentation/LocalEventLogger.java
+++ b/src/com/android/settings/intelligence/instrumentation/LocalEventLogger.java
@@ -22,10 +22,13 @@ import com.android.settings.intelligence.nano.SettingsIntelligenceLogProto;
public class LocalEventLogger implements EventLogger {
+ private static final boolean SHOULD_LOG = false;
private static final String TAG = "SettingsIntLogLocal";
@Override
public void log(SettingsIntelligenceLogProto.SettingsIntelligenceEvent event) {
- Log.i(TAG, event.toString());
+ if (SHOULD_LOG) {
+ Log.i(TAG, event.toString());
+ }
}
}