diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2022-04-26 08:22:00 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2022-04-26 14:06:00 +0200 |
commit | 052c8a4b1b3aaa472ca89f834572c293f7d9ead2 (patch) | |
tree | c9687ec4616c0bb8a9fae57df43ac4a01f590ac8 | |
parent | 2cb23f6ff94a7ad466cd035df2f6519a7dbd0b57 (diff) |
android: Drop redundant check for SDK version <= 11
minSdkVersion is 16.
Change-Id: I1082cc5abd7ecc02211509e57fd41c97cf706e8a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133427
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
-rw-r--r-- | android/source/src/java/org/mozilla/gecko/gfx/JavaPanZoomController.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/android/source/src/java/org/mozilla/gecko/gfx/JavaPanZoomController.java b/android/source/src/java/org/mozilla/gecko/gfx/JavaPanZoomController.java index db2fcc03c5b3..c096332b2bcc 100644 --- a/android/source/src/java/org/mozilla/gecko/gfx/JavaPanZoomController.java +++ b/android/source/src/java/org/mozilla/gecko/gfx/JavaPanZoomController.java @@ -143,10 +143,6 @@ class JavaPanZoomController /** This function MUST be called on the UI thread */ public boolean onMotionEvent(MotionEvent event) { - if (Build.VERSION.SDK_INT <= 11) { - return false; - } - switch (event.getSource() & InputDevice.SOURCE_CLASS_MASK) { case InputDevice.SOURCE_CLASS_POINTER: switch (event.getAction() & MotionEvent.ACTION_MASK) { |