Allow querying for apps on adopted storage.

Apps that live on adopted storage devices appear to be uninstalled
while ejected.  They're technically still valid apps, with allocated
UIDs, so use MATCH_UNINSTALLED_PACKAGES when querying for their
details.

Test: builds, boots
Bug: 36177795
Change-Id: Ia7ed5f0462b1f47609ea8e1ace6fa145e0b5602c
(cherry picked from commit 6bb5d0fabbe9dfce3d1da8ae94bc1de470e01bb0)
1 file changed