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()) { | 		if (!isConversationsOverviewVisable()) { | ||||||
| 			showConversationsOverview(); | 			showConversationsOverview(); | ||||||
| 		} else { | 		} else { | ||||||
| 			moveTaskToBack(true); | 			super.onBackPressed(); | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| @ -994,6 +994,7 @@ public class ConversationActivity extends XmppActivity | |||||||
| 				upKey = KeyEvent.KEYCODE_DPAD_RIGHT; | 				upKey = KeyEvent.KEYCODE_DPAD_RIGHT; | ||||||
| 				downKey = KeyEvent.KEYCODE_DPAD_LEFT; | 				downKey = KeyEvent.KEYCODE_DPAD_LEFT; | ||||||
| 				break; | 				break; | ||||||
|  | 			case Surface.ROTATION_0: | ||||||
| 			default: | 			default: | ||||||
| 				upKey = KeyEvent.KEYCODE_DPAD_UP; | 				upKey = KeyEvent.KEYCODE_DPAD_UP; | ||||||
| 				downKey = KeyEvent.KEYCODE_DPAD_DOWN; | 				downKey = KeyEvent.KEYCODE_DPAD_DOWN; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Daniel Gultsch
						Daniel Gultsch