diff --git a/build.gradle b/build.gradle index 34a07ee09..1fb79f86b 100644 --- a/build.gradle +++ b/build.gradle @@ -29,6 +29,6 @@ ext { propMinSdkVersion = 16 propTargetSdkVersion = propCompileSdkVersion propVersionCode = 1 - propVersionName = '2.21.12' + propVersionName = '2.21.13' kotlin_version = '1.1.2-5' } diff --git a/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyViewPager.kt b/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyViewPager.kt index 8fadab094..bb2f299e1 100644 --- a/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyViewPager.kt +++ b/commons/src/main/kotlin/com/simplemobiletools/commons/views/MyViewPager.kt @@ -15,8 +15,7 @@ class MyViewPager : RtlViewPager { override fun onInterceptTouchEvent(ev: MotionEvent): Boolean { try { return super.onInterceptTouchEvent(ev) - } catch (ex: IllegalArgumentException) { - ex.printStackTrace() + } catch (ignored: Exception) { } return false @@ -25,8 +24,7 @@ class MyViewPager : RtlViewPager { override fun onTouchEvent(ev: MotionEvent): Boolean { try { return super.onTouchEvent(ev) - } catch (ex: IllegalArgumentException) { - ex.printStackTrace() + } catch (ignored: Exception) { } return false