commit | 8ec9507664b59dd8017eb30167523624b8aa2d30 | [log] [tgz] |
---|---|---|
author | Zim <zezeozue@google.com> | Wed Dec 01 11:05:15 2021 +0000 |
committer | Zim <zezeozue@google.com> | Mon Dec 06 16:28:39 2021 +0000 |
tree | 548b4faaa5bc8c716af4521a4140ee26ce494648 | |
parent | 9d0e1f705d4d9c03cef9f2d08f59c0a0c5d99838 [diff] |
Fix PickerUriResolverTests with picker db enabled As a unit test, we need to mock several operations in the test: 1. Binder calls to other processes (in another user) 2. FUSE synthetic path IO 3. Picker db querying for mimetype Test: adb shell setprop sys.photopicker.pickerdb.enabled true Test: atest PickerUriResolverTests Bug: 195009139 Change-Id: I22fae1c563ef7d964ac60869b1e9fbbc2b56ab0f