Running the code shown next on my tablet (Android 9) the code works perfectly.
After calling the function "hdd" keeps memory- and USB stick storage location
Dim hdd As List
Dim rp1 As RuntimePermissions
Sub GetExtMemory()
hdd = rp1.GetAllSafeDirsExternal("")
End Sub
But running this code on Raspberry I just get the memory location (SD card)
OS is "LineageOS 16". May be this is an issue of this certain OS and does not depend of any permission?!
I don't know.