Fix cross user picker URI queries

MediaProvider processes runnning in one Android user can receive picker
URI queries from another Android user. e.g:

content://media/picker/<user-id-10>/.../<media-id> handled in MP user 0

In such a case, MP user 0 db will not contain info about the media-id
and will need to forward the request to the appropriate MP user.

Test: adb shell setprop sys.photopicker.pickerdb.enabled true
Test: atest PhotoPickerCrossProfileTest
Bug: 195009143
Change-Id: Ib88e4c868c114205b1902cd368403fd4c9bbe9c6
2 files changed