mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-24 18:41:00 +00:00
Disable file exposure detection to allow sharing from the local cache ¯\_(ツ)_/¯
This commit is contained in:
parent
0b85760939
commit
69cbbd5811
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,7 @@ package eu.kanade.tachiyomi
|
||||||
import android.app.Application
|
import android.app.Application
|
||||||
import android.content.Context
|
import android.content.Context
|
||||||
import android.content.res.Configuration
|
import android.content.res.Configuration
|
||||||
|
import android.os.StrictMode
|
||||||
import android.support.multidex.MultiDex
|
import android.support.multidex.MultiDex
|
||||||
import com.evernote.android.job.JobManager
|
import com.evernote.android.job.JobManager
|
||||||
import eu.kanade.tachiyomi.data.backup.BackupCreatorJob
|
import eu.kanade.tachiyomi.data.backup.BackupCreatorJob
|
||||||
|
@ -32,6 +33,9 @@ open class App : Application() {
|
||||||
|
|
||||||
if (BuildConfig.DEBUG) Timber.plant(Timber.DebugTree())
|
if (BuildConfig.DEBUG) Timber.plant(Timber.DebugTree())
|
||||||
|
|
||||||
|
// Disable file uri exposure detection
|
||||||
|
StrictMode.setVmPolicy(StrictMode.VmPolicy.Builder().build())
|
||||||
|
|
||||||
setupAcra()
|
setupAcra()
|
||||||
setupJobManager()
|
setupJobManager()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue