Remove obsolete warning message
This is a follow up of I5655c5703b. Change-Id: I4a61689eb275b54648c6112c9f8709e4a9c35a5emain
parent
f925b1e34a
commit
a2bbb1213d
|
@ -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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue