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,10 +20,13 @@ package com.android.inputmethod.latin.makedict;
|
|||
* Wrapper to redirect log events to the right output medium.
|
||||
*/
|
||||
public class MakedictLog {
|
||||
private static final boolean DEBUG = false;
|
||||
|
||||
private static void print(String message) {
|
||||
if (DEBUG) {
|
||||
System.out.println(message);
|
||||
}
|
||||
}
|
||||
|
||||
public static void d(String message) {
|
||||
print(message);
|
||||
|
|
Loading…
Reference in a new issue