Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit deefeeb

Browse files
authored
Fix for the showInput stackoverflow (#3095)
1 parent b3bdd06 commit deefeeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/KeyboardWidget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,7 @@ public void restartInput(@NonNull GeckoSession session, int reason) {
12161216
@Override
12171217
public void showSoftInput(@NonNull GeckoSession session) {
12181218
if (mFocusedView != mAttachedWindow || getVisibility() != View.VISIBLE || mInputRestarted) {
1219-
updateFocusedView(mAttachedWindow);
1219+
post(() -> updateFocusedView(mAttachedWindow));
12201220
}
12211221
mInputRestarted = false;
12221222
}

0 commit comments

Comments
 (0)