Add the checking of the package installed state
Unless the caller wants to query the UID or GID with certain flags
and proper permission, we should only return the result within the
current userId only.
Bug: 186180067
Test: atest -p core/java/android/content/pm \
core/java/com/android/internal/content \
services/core/java/com/android/server/pm \
services/tests/servicestests/src/com/android/server/pm
Change-Id: I3d7c35dc2b57037f1f8c74fcaa432481a03f7636
Loading
Please register or sign in to comment