Suppress debug log from makedict in LatinIME
bug: 6447900 Change-Id: I436b2b7b261b422a7edca9cb99a4689b63877fe0
This commit is contained in:
parent
a995714184
commit
03b423f313
1 changed files with 4 additions and 1 deletions
|
@ -20,9 +20,12 @@ package com.android.inputmethod.latin.makedict;
|
||||||
* Wrapper to redirect log events to the right output medium.
|
* Wrapper to redirect log events to the right output medium.
|
||||||
*/
|
*/
|
||||||
public class MakedictLog {
|
public class MakedictLog {
|
||||||
|
private static final boolean DEBUG = false;
|
||||||
|
|
||||||
private static void print(String message) {
|
private static void print(String message) {
|
||||||
System.out.println(message);
|
if (DEBUG) {
|
||||||
|
System.out.println(message);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void d(String message) {
|
public static void d(String message) {
|
||||||
|
|
Loading…
Reference in a new issue