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: I7ff9a6e8d84c4b8afee3fe1407253b753fcf35c7
Loading
Please register or sign in to comment