Fetch favorites album from picker db
When populating the UI with media, we fetch different grids from
different sources:
1. main grid media: from picker db
2. album grid media: combiniation of (local and cloud) provider media
filtered by album and merged+deduped favorites album
3. album grid: from individual providers and special case for favorites
This change handles the favorites album special case by checking if
there are any favorite media items in the picker db, optionally
filtered by mimeType and returning a cursor for the favorites album if
there's a matching media item in the picker db
Test: atest PickerDbFacadeTest
Bug: 195009148
Change-Id: Ied8f0a0a1fa8ccf7e0b70876843c8e89cda1ea73
Merged-In: Ied8f0a0a1fa8ccf7e0b70876843c8e89cda1ea73
(cherry picked from commit 1a6039e92853beb187c02c6e43c084b1638de28f)
2 files changed