aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/research/Statistics.java
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2012-12-17 18:19:58 -0800
committerKurt Partridge <kep@google.com>2012-12-18 19:46:30 -0800
commit0aafbcf879a31afc8361078bd9574915d95694c0 (patch)
treeee2b79d9354dda1f462c0baa7aaf75ef3c883827 /java/src/com/android/inputmethod/research/Statistics.java
parent606058f777de394d38b364a655cff36ccaf0d5d2 (diff)
downloadlatinime-0aafbcf879a31afc8361078bd9574915d95694c0.tar.gz
latinime-0aafbcf879a31afc8361078bd9574915d95694c0.tar.xz
latinime-0aafbcf879a31afc8361078bd9574915d95694c0.zip
Add ProductionFlag.IS_EXPERIMENTAL_DEBUG
The IS_EXPERIMENTAL_DEBUG flag gives a single place to turn off all debugging flags that might be set and to also enforce privacy controls. Currently only used in the research package. multi-project commit with I9275a7c8e40bf56106447a02d3056655329074b3 Change-Id: If769fe3a633f33963ca49e8ddf01ab24a30b6fd2
Diffstat (limited to 'java/src/com/android/inputmethod/research/Statistics.java')
-rw-r--r--java/src/com/android/inputmethod/research/Statistics.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/research/Statistics.java b/java/src/com/android/inputmethod/research/Statistics.java
index 90d7f38b3..23d1050cb 100644
--- a/java/src/com/android/inputmethod/research/Statistics.java
+++ b/java/src/com/android/inputmethod/research/Statistics.java
@@ -19,10 +19,11 @@ package com.android.inputmethod.research;
import android.util.Log;
import com.android.inputmethod.latin.Constants;
+import com.android.inputmethod.latin.define.ProductionFlag;
public class Statistics {
private static final String TAG = Statistics.class.getSimpleName();
- private static final boolean DEBUG = false;
+ private static final boolean DEBUG = false && ProductionFlag.IS_EXPERIMENTAL_DEBUG;
// Number of characters entered during a typing session
int mCharCount;