e57620446bfc0c2bdca5e07a0c39f647e07ca18d
getVolumeList() previously accepted a uid and a packagename. This approach has a few issues: 1) The uid wasn't actually checked in the implementation to match the calling UID, nor was the package name checked against the UID in all cases. 2) The implementation assumed that the UID also specificies the userId that we want to get the volumes for. This was historically true, but with the new app cloning implementation, MediaProvider running in user 0 might ask for volumes in the clone user. To fix this, explicitly pass in the userId that we're requesting volumes for, and verify that the calling UID and the passed in package name match. Bug: 206624903 Test: atest packages/providers/MediaProvider Change-Id: Idffbb4ae7740c1b9725af0974948dc55bf1f1fde
Merge "Add multi-task support to recents-animation task-appeared" into sc-v2-dev am:
35b8e2b997 am: c7e8bbf286
Merge "Update the resources owner files" am:
70d5485b28 am: bbf64f041e am: 2512fc7380 am: 187863655c am: 2999ac25fb
Merge "WM: Handle primary display orientation when calculating the transform hint" am:
5fb9f63795 am: b83ee72e64
…
…
…
…
…
…
…
…
Merge "[Provider Model] Show "See All" when only connected WiFi appears" into sc-v2-dev am:
cdb38ec55d am: eedf3af9c1
Merge "Migrate rs/jni to Soong" am:
eaebd2cd54 am: a6f5cf56e8 am: 21587435c7 am: 22b41229f1 am: 87bbc3ef20
…
…
…
Merge "API docs clarification for placing calls." am:
57954552ad am: 043c9dee2d am: f33b0154ca am: ec4e408b45
Merge "Make KEY_VONR_SETTING_VISIBILITY_BOOL default to true" into sc-v2-dev am:
02183c88aa am: 823a1964d7
Merge "AAPT Files - Permit invariant filepaths for getting file names" am:
0ba2a37eaf am: c8b5598a14 am: b568a8202c am: 4b7dd9fced am: 94643cc013
…
…
…
…
…
Description
No description provided
Languages
Java
73.7%
Kotlin
14%
PowerBuilder
5.8%
C++
5.2%
AIDL
1%