am a2bbb121: Remove obsolete warning message

* commit 'a2bbb1213d41019b23b3df63dbfcaecdd0694ff6':
  Remove obsolete warning message
This commit is contained in:
Tadashi G. Takaoka 2013-12-07 02:06:02 -08:00 committed by Android Git Automerger
commit de4460c157

View file

@ -28,7 +28,6 @@ import android.graphics.Rect;
import android.graphics.Typeface; import android.graphics.Typeface;
import android.graphics.drawable.Drawable; import android.graphics.drawable.Drawable;
import android.text.TextUtils; import android.text.TextUtils;
import android.util.Log;
import android.util.Xml; import android.util.Xml;
import com.android.inputmethod.keyboard.internal.KeyDrawParams; import com.android.inputmethod.keyboard.internal.KeyDrawParams;
@ -53,8 +52,6 @@ import java.util.Locale;
* Class for describing the position and characteristics of a single key in the keyboard. * Class for describing the position and characteristics of a single key in the keyboard.
*/ */
public class Key implements Comparable<Key> { public class Key implements Comparable<Key> {
private static final String TAG = Key.class.getSimpleName();
/** /**
* The key code (unicode or custom code) that this key generates. * The key code (unicode or custom code) that this key generates.
*/ */
@ -382,9 +379,6 @@ public class Key implements Comparable<Key> {
mKeyVisualAttributes = KeyVisualAttributes.newInstance(keyAttr); mKeyVisualAttributes = KeyVisualAttributes.newInstance(keyAttr);
keyAttr.recycle(); keyAttr.recycle();
mHashCode = computeHashCode(this); mHashCode = computeHashCode(this);
if (hasShiftedLetterHint() && TextUtils.isEmpty(mHintLabel)) {
Log.w(TAG, "hasShiftedLetterHint specified without keyHintLabel: " + this);
}
} }
/** /**