prevented unnecessary multiple insets recalculations and possible input modes re-evaluations, when a virtual numpad key is pressed on Android 15
This commit is contained in:
parent
d645e7f425
commit
bedc558ed0
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ public class TraditionalT9 extends MainViewHandler {
|
|||
@Override
|
||||
public void onComputeInsets(Insets outInsets) {
|
||||
super.onComputeInsets(outInsets);
|
||||
if (shouldBeVisible() && settings.clearInsets()) {
|
||||
if (settings.clearInsets() && shouldBeVisible()) {
|
||||
// otherwise the MainView wouldn't show up on Sonim XP3900
|
||||
// or it expands the application window past the edge of the screen
|
||||
outInsets.contentTopInsets = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue