change behaviour of back button to close finish activity. fixes #704
This commit is contained in:
parent
7035f38e0b
commit
b48bf39e08
|
@ -972,7 +972,7 @@ public class ConversationActivity extends XmppActivity
|
|||
if (!isConversationsOverviewVisable()) {
|
||||
showConversationsOverview();
|
||||
} else {
|
||||
moveTaskToBack(true);
|
||||
super.onBackPressed();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -994,6 +994,7 @@ public class ConversationActivity extends XmppActivity
|
|||
upKey = KeyEvent.KEYCODE_DPAD_RIGHT;
|
||||
downKey = KeyEvent.KEYCODE_DPAD_LEFT;
|
||||
break;
|
||||
case Surface.ROTATION_0:
|
||||
default:
|
||||
upKey = KeyEvent.KEYCODE_DPAD_UP;
|
||||
downKey = KeyEvent.KEYCODE_DPAD_DOWN;
|
||||
|
|
Loading…
Reference in New Issue