From 8201b367ecc544a98907a7f51ca371b9c7e26270 Mon Sep 17 00:00:00 2001 From: len Date: Sun, 6 Aug 2017 16:19:25 +0200 Subject: [PATCH] Fix most crashes with extensions and the release version. Crop borders support in android O --- app/build.gradle | 1 + app/proguard-rules.pro | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index 0c4a0b7fde..c274c7ed9c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -98,6 +98,7 @@ dependencies { // Modified dependencies compile 'com.github.inorichi:subsampling-scale-image-view:01e5385' + compile 'com.github.inorichi:tachimage:68cd311' compile 'com.github.inorichi:junrar-android:634c1f5' // Android support library diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 9fce41d193..1ac898d6a8 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -7,6 +7,10 @@ -keep class com.hippo.image.** { *; } -keep interface com.hippo.image.** { *; } +# Extensions may require methods unused in the core app +-keep class org.jsoup.** { *; } +-keep class kotlin.** { *; } + # OkHttp -dontwarn okhttp3.** -dontwarn okio.**