Support GET_MEDIA_URI_CALL for MediaDocumentsProvider

Before this change, we only used to support ExternalStorageProvider.

This also modifies the behavior for MediaStore.getMediaUri API, we now
grant access to the MediaStore URI before returning.

Bug: 132644625
Test: atest MediaStoreUiTest

Change-Id: Ie29d88bc7bb679477d2f1e5cc0f6cd1cb9f49bc5
3 files changed