Revert "Revert "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. This reverts commit 637ec21a. 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: Iba2e1481cb71fbddabef7b8bf0eb83a7b79ae7ad
Loading
Please register or sign in to comment