mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
Remove unneeded vm policy
This commit is contained in:
parent
aa21ef28f7
commit
eef1c65f66
@ -1,8 +1,6 @@
|
|||||||
package com.github.libretube
|
package com.github.libretube
|
||||||
|
|
||||||
import android.app.Application
|
import android.app.Application
|
||||||
import android.os.StrictMode
|
|
||||||
import android.os.StrictMode.VmPolicy
|
|
||||||
import androidx.core.app.NotificationChannelCompat
|
import androidx.core.app.NotificationChannelCompat
|
||||||
import androidx.core.app.NotificationManagerCompat
|
import androidx.core.app.NotificationManagerCompat
|
||||||
import androidx.work.ExistingPeriodicWorkPolicy
|
import androidx.work.ExistingPeriodicWorkPolicy
|
||||||
@ -32,12 +30,6 @@ class LibreTubeApp : Application() {
|
|||||||
*/
|
*/
|
||||||
PreferenceHelper.initialize(applicationContext)
|
PreferenceHelper.initialize(applicationContext)
|
||||||
|
|
||||||
/**
|
|
||||||
* Bypassing fileUriExposedException, see https://stackoverflow.com/questions/38200282/android-os-fileuriexposedexception-file-storage-emulated-0-test-txt-exposed
|
|
||||||
*/
|
|
||||||
val builder = VmPolicy.Builder()
|
|
||||||
StrictMode.setVmPolicy(builder.build())
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the api and the auth api url
|
* Set the api and the auth api url
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user