mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-23 16:28:55 +00:00
Prevent landscape text editing from taking over the screen.
It used to be that we let Android do the default behavior of full-screening the EditText when in landscape, but honestly I don't know who prefers that. So I've turned it off. Fixes #8769
This commit is contained in:
@@ -93,11 +93,6 @@ public class KeyboardAwareLinearLayout extends LinearLayoutCompat {
|
||||
}
|
||||
|
||||
private void updateKeyboardState() {
|
||||
if (isLandscape()) {
|
||||
if (keyboardOpen) onKeyboardClose();
|
||||
return;
|
||||
}
|
||||
|
||||
if (viewInset == 0 && Build.VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) viewInset = getViewInset();
|
||||
|
||||
getWindowVisibleDisplayFrame(rect);
|
||||
|
Reference in New Issue
Block a user