Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable partial media picking in Marketplace (facebook#38880)
Summary: Pull Request resolved: facebook#38880 Users who interact with your app on Android 14 devices can now grant partial access to their visual media library (Photos/Videos) when an app requests any visual media permissions (READ_MEDIA_IMAGES or READ_MEDIA_VIDEO) introduced in Android 13 (API level 33). This diff allow enable the partial access via "READ_MEDIA_VISUAL_USER_SELECTED" in Marketplace photo picker For Android 14 this diff request partial media access plus the normal access, there will be two return cases: - READ_MEDIA_VISUAL_USER_SELECTED is granted, READ_MEDIA_IMAGES and READ_MEDIA_VIDEO will be denied automatically, there is no need to check the later ones - READ_MEDIA_VISUAL_USER_SELECTED is denied, then check READ_MEDIA_IMAGES and READ_MEDIA_VIDEO Changelog: [Android][Changed] - Enable partial media picking in Marketplace Reviewed By: NickGerleman Differential Revision: D48171193 fbshipit-source-id: 6e8d022a81b2e32108cd57b30ad5ce148be17c5a
- Loading branch information