My application targets api level 32. When running on Android 13 device, ActivityResultContracts.RequestMultiplePermissions() always returns PERMISSION_DENIED even if the user presses on "Allow".
Also, when checking in settings->app->permissions, the IMAGE, AUDIO and VIDEO permissions get granted.
The documentation clearly states that applications targeting api level < 33 should continue asking for READ_EXTERNAL_DEVICE, and the IMAGE, AUDIO and VIDEO will be granted automatically
Tried allowing READ_EXTERNAL_STORAGE permission.
Expected to open Gallery.
Actually, permission was denied.