aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMenny Even Danan <menny@evendanan.net>2016-02-23 17:30:36 +0000
committerMenny Even Danan <menny@evendanan.net>2016-02-23 17:30:36 +0000
commitfcaa97e60c3271c959b9e8702fa185e824bc255d (patch)
treef02e829ed571f3cf10999ad5879baae141c102b8 /src
parent752f1e58feb84438b13e211d812cb9ad114d88f0 (diff)
downloadAnySoftKeyboard-fcaa97e60c3271c959b9e8702fa185e824bc255d.tar.gz
AnySoftKeyboard-fcaa97e60c3271c959b9e8702fa185e824bc255d.tar.bz2
reducing the log messages for canary release
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/anysoftkeyboard/AnySoftKeyboard.java2
-rw-r--r--src/main/java/com/anysoftkeyboard/keyboards/views/AnyKeyboardBaseView.java2
-rw-r--r--src/main/java/com/anysoftkeyboard/utils/Log.java4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/anysoftkeyboard/AnySoftKeyboard.java b/src/main/java/com/anysoftkeyboard/AnySoftKeyboard.java
index 2bf9f8162..1c3ed76e9 100644
--- a/src/main/java/com/anysoftkeyboard/AnySoftKeyboard.java
+++ b/src/main/java/com/anysoftkeyboard/AnySoftKeyboard.java
@@ -432,7 +432,7 @@ public abstract class AnySoftKeyboard extends InputMethodService implements
@Override
public void onStartInputView(final EditorInfo attribute, final boolean restarting) {
- Log.d(TAG, "onStartInputView(EditorInfo{imeOptions %d, inputType %d}, restarting %s",
+ Log.v(TAG, "onStartInputView(EditorInfo{imeOptions %d, inputType %d}, restarting %s",
attribute.imeOptions, attribute.inputType, restarting);
super.onStartInputView(attribute, restarting);
diff --git a/src/main/java/com/anysoftkeyboard/keyboards/views/AnyKeyboardBaseView.java b/src/main/java/com/anysoftkeyboard/keyboards/views/AnyKeyboardBaseView.java
index 775f73dee..c7e263703 100644
--- a/src/main/java/com/anysoftkeyboard/keyboards/views/AnyKeyboardBaseView.java
+++ b/src/main/java/com/anysoftkeyboard/keyboards/views/AnyKeyboardBaseView.java
@@ -1685,7 +1685,7 @@ public class AnyKeyboardBaseView extends View implements
icon = builder.buildDrawable();
if (icon != null) {
mKeysIcons.put(keyCode, icon);
- Log.d(TAG, "Current drawable cache size is %d", mKeysIcons.size());
+ Log.v(TAG, "Current drawable cache size is %d", mKeysIcons.size());
} else {
Log.w(TAG, "Can not find drawable for keyCode %d. Context lost?", keyCode);
}
diff --git a/src/main/java/com/anysoftkeyboard/utils/Log.java b/src/main/java/com/anysoftkeyboard/utils/Log.java
index eefab5f49..362550aba 100644
--- a/src/main/java/com/anysoftkeyboard/utils/Log.java
+++ b/src/main/java/com/anysoftkeyboard/utils/Log.java
@@ -89,7 +89,7 @@ public class Log {
private static final String LVL_V = "V";
public static void v(String TAG, String text, Object... args) {
- if (BuildConfig.TESTING_BUILD) {
+ if (BuildConfig.DEBUG) {
String msg = args == null ? text : msFormatter.format(text, args).toString();
msFormatBuilder.setLength(0);
android.util.Log.v(TAG, msg);
@@ -98,7 +98,7 @@ public class Log {
}
public static void v(String TAG, String text, Throwable t) {
- if (BuildConfig.TESTING_BUILD) {
+ if (BuildConfig.DEBUG) {
android.util.Log.v(TAG, text, t);
addLog(LVL_V, TAG, text, t);
}