@flyingdutchmanI'm having the same problem. Please explain how to add that permission.
FYI, I'm using Poweramp for an Android 8.1 head unit. On my smartphone, Android 12, I have the Legacy option but this option does not show up on the Android 8.1 head unit. I'm guessing as Poweramp determines it's running Android 8.1 then the Legacy option is not displayed. Perhaps it would be better to show the option/text with a description that PA is running in Legacy mode.
When I look at the permissions for the documentsui app that I downloaded from the Google Play Store, the app does not list/ask/require any permissions at all...I thought that was strange, but that's what I see.
As for the exception, since it's referencing documentsui, wouldn't that mean it's NOT running in Legacy mode?
Permission Denial: opening provider com.android.externalstorage.ExternalStorageProvider from ProcessRecord{166c731 7168:com.android.documentsui/u0a186} (pid=7168, uid=10186) requires that you obtain access using ACTION_OPEN_DOCUMENT or related APIs
The specific reference in this text is to com.android.documentsui, for example.