Skip to content

Commit

Permalink
Bump GeckoView to 71.0.20190930095343 (#1901)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluemarvin authored and MortimerGoro committed Oct 1, 2019
1 parent 6cb0462 commit 1c04b86
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Expand Up @@ -30,6 +30,7 @@
import org.mozilla.geckoview.GeckoDisplay;
import org.mozilla.geckoview.GeckoResult;
import org.mozilla.geckoview.GeckoSession;
import org.mozilla.geckoview.PanZoomController;
import org.mozilla.vrbrowser.R;
import org.mozilla.vrbrowser.browser.HistoryStore;
import org.mozilla.vrbrowser.browser.SessionChangeListener;
Expand Down Expand Up @@ -1052,13 +1053,13 @@ protected void onFocusChanged(boolean aGainFocus, int aDirection, Rect aPrevious
@Override
public boolean onTouchEvent(MotionEvent aEvent) {
GeckoSession session = mSessionStack.getSession(mSessionId);
return (session != null) && session.getPanZoomController().onTouchEvent(aEvent);
return (session != null) && session.getPanZoomController().onTouchEvent(aEvent) == PanZoomController.INPUT_RESULT_HANDLED;
}

@Override
public boolean onGenericMotionEvent(MotionEvent aEvent) {
GeckoSession session = mSessionStack.getSession(mSessionId);
return (session != null) && session.getPanZoomController().onMotionEvent(aEvent);
return (session != null) && session.getPanZoomController().onMotionEvent(aEvent) == PanZoomController.INPUT_RESULT_HANDLED;
}

private void setPrivateBrowsingEnabled(boolean isEnabled) {
Expand Down
2 changes: 1 addition & 1 deletion versions.gradle
Expand Up @@ -24,7 +24,7 @@ ext.deps = [:]
def versions = [:]
// GeckoView versions can be found here:
// https://maven.mozilla.org/?prefix=maven2/org/mozilla/geckoview/
versions.gecko_view = "71.0.20190919094654"
versions.gecko_view = "71.0.20190930095343"
versions.android_components = "4.0.0"
versions.mozilla_speech = "1.0.6"
versions.openwnn = "1.3.7"
Expand Down

0 comments on commit 1c04b86

Please sign in to comment.