Skip to content

Commit

Permalink
Fix keypad for ICS devices.
Browse files Browse the repository at this point in the history
Fixes #318
  • Loading branch information
moxie0 committed Sep 27, 2014
1 parent d5a1218 commit 42abe22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/thoughtcrime/redphone/ui/DialPadActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ private void initializeKeyPad(View fragmentView) {

@Override
public void onPressed(View view, boolean pressed) {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH ? !pressed : pressed) return;
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN ? !pressed : pressed) return;

switch (view.getId()) {
case R.id.one: keyPressed(KeyEvent.KEYCODE_1); break;
Expand Down

0 comments on commit 42abe22

Please sign in to comment.