Skip to content
Commit 21a84738 authored by Jackal Guo's avatar Jackal Guo Committed by Patrick Baumann
Browse files

Re-order early return when targetPkg is null

It's possible that the target package is on removable stroage or
uninstalled with keep data. The caller should be able to get the
related info of the target with flag MATCH_UNINSTALLED_PACKAGES.
However, the caller wouldn't be able to get the valid info if we
directly filter out when targetPkg is null early.

Bug: 193864540
Fix: 187650819
Test: atest AppEnumerationTests PackageVisibilityTest
Change-Id: I7c6b2dcdb77c543e0826e5dff0ddc9f66e489033
Merged-In: I7c6b2dcdb77c543e0826e5dff0ddc9f66e489033
(cherry picked from commit a135e23f)
parent a204a20f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment