From f1e60d406bd08335ef7f9b346b6821b5d2272fd6 Mon Sep 17 00:00:00 2001 From: Manuel Martin Date: Thu, 14 Nov 2019 18:08:53 +0100 Subject: [PATCH] Hide the popup notifications when moving windows --- .../common/shared/org/mozilla/vrbrowser/VRBrowserActivity.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/common/shared/org/mozilla/vrbrowser/VRBrowserActivity.java b/app/src/common/shared/org/mozilla/vrbrowser/VRBrowserActivity.java index 5bc093f26..eb26b9ec1 100644 --- a/app/src/common/shared/org/mozilla/vrbrowser/VRBrowserActivity.java +++ b/app/src/common/shared/org/mozilla/vrbrowser/VRBrowserActivity.java @@ -281,6 +281,7 @@ protected void initializeWidgets() { public void onFocusedWindowChanged(@NonNull WindowWidget aFocusedWindow, @Nullable WindowWidget aPrevFocusedWindow) { attachToWindow(aFocusedWindow, aPrevFocusedWindow); mTray.setAddWindowVisible(mWindows.canOpenNewWindow()); + mNavigationBar.hidePopUpsBlockedNotification(); } @Override public void onWindowBorderChanged(@NonNull WindowWidget aChangeWindow) { @@ -289,12 +290,14 @@ public void onWindowBorderChanged(@NonNull WindowWidget aChangeWindow) { @Override public void onWindowsMoved() { + mNavigationBar.hidePopUpsBlockedNotification(); updateWidget(mTray); } @Override public void onWindowClosed() { mTray.setAddWindowVisible(mWindows.canOpenNewWindow()); + mNavigationBar.hidePopUpsBlockedNotification(); updateWidget(mTray); }