java.lang.RuntimeException: Unable to start service org.schabi.newpipe.local.subscription.services.SubscriptionsImportService@dd8b371 with Intent { cmp=org.schabi.newpipe/.local.subscription.services.SubscriptionsImportService (has extras) }: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.media.MediaDocumentsProvider from ProcessRecord{987649a 10501:org.schabi.newpipe/u0a206} (pid=10501, uid=10206) requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIs
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4338)
at android.app.ActivityThread.access$1800(ActivityThread.java:237)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1951)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7664)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.SecurityException: Permission Denial: opening provider com.android.providers.media.MediaDocumentsProvider from ProcessRecord{987649a 10501:org.schabi.newpipe/u0a206} (pid=10501, uid=10206) requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIs
at android.os.Parcel.createExceptionOrNull(Parcel.java:2373)
at android.os.Parcel.createException(Parcel.java:2357)
at android.os.Parcel.readException(Parcel.java:2340)
at android.os.Parcel.readException(Parcel.java:2282)
at android.app.IActivityManager$Stub$Proxy.getContentProvider(IActivityManager.java:5728)
at android.app.ActivityThread.acquireProvider(ActivityThread.java:6820)
at android.app.ContextImpl$ApplicationContentResolver.acquireUnstableProvider(ContextImpl.java:2935)
at android.content.ContentResolver.acquireUnstableProvider(ContentResolver.java:2481)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1800)
at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1631)
at android.content.ContentResolver.openFileDescriptor(ContentResolver.java:1578)
at us.shandian.giga.io.FileStreamSAF.<init>(FileStreamSAF.java:32)
at org.schabi.newpipe.streams.io.StoredFileHelper.getStream(StoredFileHelper.java:195)
at org.schabi.newpipe.local.subscription.services.SubscriptionsImportService.onStartCommand(SubscriptionsImportService.java:115)
at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:4320)
... 8 more
Checklist
Steps to reproduce the bug
Actual behavior
When the subscription file is selected the app crashes
Expected behavior
Subscriptions imported successfully
Screenshots/Screen recordings
Logs
Exception
Crash log
Device info