From 69cbbd5811bf02a7615cd1050e4a6e5236dd4ba3 Mon Sep 17 00:00:00 2001 From: len Date: Sun, 10 Sep 2017 12:03:44 +0200 Subject: [PATCH] =?UTF-8?q?Disable=20file=20exposure=20detection=20to=20al?= =?UTF-8?q?low=20sharing=20from=20the=20local=20cache=20=C2=AF\=5F(?= =?UTF-8?q?=E3=83=84)=5F/=C2=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/eu/kanade/tachiyomi/App.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/App.kt b/app/src/main/java/eu/kanade/tachiyomi/App.kt index 9fd73b878..8a8a1852c 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/App.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/App.kt @@ -3,6 +3,7 @@ package eu.kanade.tachiyomi import android.app.Application import android.content.Context import android.content.res.Configuration +import android.os.StrictMode import android.support.multidex.MultiDex import com.evernote.android.job.JobManager import eu.kanade.tachiyomi.data.backup.BackupCreatorJob @@ -32,6 +33,9 @@ open class App : Application() { if (BuildConfig.DEBUG) Timber.plant(Timber.DebugTree()) + // Disable file uri exposure detection + StrictMode.setVmPolicy(StrictMode.VmPolicy.Builder().build()) + setupAcra() setupJobManager()