18.1 Update 20220415 xz2c - external storage access fails
Expected Behavior
Apps without MANAGE_EXTERNAL_STORAGE permission such as Osmand+ can place their appdata (e.g. maps) to their private dir on external storage /storage/{uuid}/Android/data/net.osmand.plus
Current Behavior
Pre-existing appdata in app-specific external storage folder cannot be accessed after 2022-04-15 Lineage update. Instead, Osmand+ starts with a setup dialog with no map and suggests downloading a standard map. Downloading this map never finishes.
Possible Solution
To my understanding, the following fix should restrict access to OTHER apps private directories. But the current effect on my xz2c is that even access to THEIR OWN private directory is being blocked. 328228: Restrict legacy apps to insert files to other private app dirs | https://review.lineageos.org/c/LineageOS/android_packages_providers_MediaProvider/+/328228
Steps to Reproduce
- On a device with external SD card, install and start Osmand+
- On the Welcome screen, Press "First steps"
- Before downloading a map, change the data location to "External storage 2"
- Now download the proposed standard map
- Osmand+ pops up an error message that space is not sufficient, even if there is plenty free spacelogcat5.txt
/device xz2c /version lineage-18.1 /date 2022-04-22 /kernel 4.9.227 /baseband 845-sdm845.gen /mods Google Apps, Magisk
I have read the directions.