From 074593e553dbe3140d34eb33a357121ab4e6086b Mon Sep 17 00:00:00 2001 From: Manuel Martin Date: Mon, 17 Sep 2018 18:27:34 +0200 Subject: [PATCH] Remove keyboards back handler whenit's dismissed (#531) --- .../common/shared/org/mozilla/vrbrowser/ui/KeyboardWidget.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/common/shared/org/mozilla/vrbrowser/ui/KeyboardWidget.java b/app/src/common/shared/org/mozilla/vrbrowser/ui/KeyboardWidget.java index b4adb784b..9053071d8 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/ui/KeyboardWidget.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/ui/KeyboardWidget.java @@ -241,6 +241,8 @@ public void dismiss() { mWidgetPlacement.visible = false; mWidgetManager.updateWidget(this); + mWidgetManager.popBackHandler(mBackHandler); + mIsCapsLock = false; mIsLongPress = false; handleShift(false);