Merge "Add API for apps to query whether they are granted MANAGE_MEDIA" into sc-dev