diff options
author | 2013-06-25 17:03:05 +0900 | |
---|---|---|
committer | 2013-06-25 17:09:12 +0900 | |
commit | 03118a276014cd44d44d0d46f4f39622765e8e0c (patch) | |
tree | a111d9338181b849192b85838760ce8dd679c604 /java/src/com/android/inputmethod/dictionarypack/MetadataDbHelper.java | |
parent | 10585620bdfad418f6c093ab4bfd8efaa2d84abf (diff) | |
download | latinime-03118a276014cd44d44d0d46f4f39622765e8e0c.tar.gz latinime-03118a276014cd44d44d0d46f4f39622765e8e0c.tar.xz latinime-03118a276014cd44d44d0d46f4f39622765e8e0c.zip |
Cleanup under the utils package
Change-Id: If2f7bd1346cc5085bf57645830f0faac44d017e4
Diffstat (limited to 'java/src/com/android/inputmethod/dictionarypack/MetadataDbHelper.java')
-rw-r--r-- | java/src/com/android/inputmethod/dictionarypack/MetadataDbHelper.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/java/src/com/android/inputmethod/dictionarypack/MetadataDbHelper.java b/java/src/com/android/inputmethod/dictionarypack/MetadataDbHelper.java index c6cadb823..99cc5b924 100644 --- a/java/src/com/android/inputmethod/dictionarypack/MetadataDbHelper.java +++ b/java/src/com/android/inputmethod/dictionarypack/MetadataDbHelper.java @@ -25,7 +25,7 @@ import android.text.TextUtils; import android.util.Log; import com.android.inputmethod.latin.R; -import com.android.inputmethod.latin.utils.LogUtils; +import com.android.inputmethod.latin.utils.DebugLogUtils; import java.io.File; import java.util.ArrayList; @@ -773,13 +773,13 @@ public class MetadataDbHelper extends SQLiteOpenHelper { if (TextUtils.isEmpty(valuesClientId) || null == valuesMetadataUri || null == valuesMetadataAdditionalId) { // We need all these columns to be filled in - LogUtils.l("Missing parameter for updateClientInfo"); + DebugLogUtils.l("Missing parameter for updateClientInfo"); return; } if (!clientId.equals(valuesClientId)) { // Mismatch! The client violates the protocol. - LogUtils.l("Received an updateClientInfo request for ", clientId, " but the values " - + "contain a different ID : ", valuesClientId); + DebugLogUtils.l("Received an updateClientInfo request for ", clientId, + " but the values " + "contain a different ID : ", valuesClientId); return; } final SQLiteDatabase defaultDb = getDb(context, ""); @@ -848,7 +848,7 @@ public class MetadataDbHelper extends SQLiteOpenHelper { final ContentValues r) { switch (r.getAsInteger(TYPE_COLUMN)) { case TYPE_BULK: - LogUtils.l("Ended processing a wordlist"); + DebugLogUtils.l("Ended processing a wordlist"); // Updating a bulk word list is a three-step operation: // - Add the new entry to the table // - Remove the old entry from the table @@ -870,7 +870,7 @@ public class MetadataDbHelper extends SQLiteOpenHelper { // the phone is suddenly cut during an update. final int filenameIndex = c.getColumnIndex(LOCAL_FILENAME_COLUMN); do { - LogUtils.l("Setting for removal", c.getString(filenameIndex)); + DebugLogUtils.l("Setting for removal", c.getString(filenameIndex)); filenames.add(c.getString(filenameIndex)); } while (c.moveToNext()); } |