Why it is needed?
For Android 14, the permission READ_MEDIA_VISUAL_USER_SELECTED is added. Development needs to query the permission to know whether the next access to images or videos is successful.
Possible implementation
No response
Code sample
No response