Scenario:
An user has acquired the persistable permissions using
ACTION_OPEN_DOCUMENT_TREE
with an App that targets latest Android API level 30 on Android 10 or previous to comply with storage access framework access permission policies.The folder chosen in the first point by the user is the main folder of internal storage or another folder that appears as greyed out when you try to take permissions with
ACTION_OPEN_DOCUMENT_TREE
in Android 11 but can be chosen to get persistable permission in all previous versions.The user updates the OS version to Android 11.
Are the already obtained persistable permissions maintained or they will be invalidated after the update causing unexpected behavior?