From cfbfb1c50a18234c5415a9897f62b0d456036885 Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" Date: Mon, 29 Oct 2012 17:25:13 +0900 Subject: [PATCH] Remove reference of android.util.Log in Constants class This is a follow up of Iee01d4d2. Change-Id: I0bcd349d317d9f7d40ef0574e72c640f9f990c5d --- java/src/com/android/inputmethod/latin/Constants.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/java/src/com/android/inputmethod/latin/Constants.java b/java/src/com/android/inputmethod/latin/Constants.java index d10ed8efb..fa6ff1848 100644 --- a/java/src/com/android/inputmethod/latin/Constants.java +++ b/java/src/com/android/inputmethod/latin/Constants.java @@ -16,11 +16,8 @@ package com.android.inputmethod.latin; -import android.util.Log; public final class Constants { - private static final String TAG = Constants.class.getSimpleName(); - public static final class Color { /** * The alpha value for fully opaque. @@ -204,7 +201,6 @@ public final class Constants { case CODE_TAB: return "tab"; case CODE_ENTER: return "enter"; default: - if (code <= 0) Log.w(TAG, "Unknown non-positive key code=" + code); if (code < CODE_SPACE) return String.format("'\\u%02x'", code); if (code < 0x100) return String.format("'%c'", code); return String.format("'\\u%04x'", code);