am 23a357d7: Small cleanup

* commit '23a357d71d5d1a404975375fd376618a4fd2a596':
  Small cleanup
This commit is contained in:
Ken Wakasa 2014-10-24 11:14:31 +00:00 committed by Android Git Automerger
commit 2998ad77b1
2 changed files with 1 additions and 3 deletions

View file

@ -296,8 +296,6 @@ public final class Constants {
return "[" + sb + "]";
}
public static final int MAX_INT_BIT_COUNT = 32;
/**
* Screen metrics (a.k.a. Device form factor) constants of
* {@link com.android.inputmethod.latin.R.integer#config_screen_metrics}.

View file

@ -271,7 +271,7 @@ final class EmojiCategory {
}
private static final Long getCategoryKeyboardMapKey(final int categoryId, final int id) {
return (((long) categoryId) << Constants.MAX_INT_BIT_COUNT) | id;
return (((long) categoryId) << Integer.SIZE) | id;
}
public DynamicGridKeyboard getKeyboard(final int categoryId, final int id) {