From eef1c65f66819233b020b724f9de9c154e978b51 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Fri, 2 Jun 2023 16:02:10 +0200 Subject: [PATCH] Remove unneeded vm policy --- app/src/main/java/com/github/libretube/LibreTubeApp.kt | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/src/main/java/com/github/libretube/LibreTubeApp.kt b/app/src/main/java/com/github/libretube/LibreTubeApp.kt index 45d0004eb..9bc3dbb86 100644 --- a/app/src/main/java/com/github/libretube/LibreTubeApp.kt +++ b/app/src/main/java/com/github/libretube/LibreTubeApp.kt @@ -1,8 +1,6 @@ package com.github.libretube import android.app.Application -import android.os.StrictMode -import android.os.StrictMode.VmPolicy import androidx.core.app.NotificationChannelCompat import androidx.core.app.NotificationManagerCompat import androidx.work.ExistingPeriodicWorkPolicy @@ -32,12 +30,6 @@ class LibreTubeApp : Application() { */ 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 */