You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.
Can you restrict 'PackageManager/getPackageInfo' to return 'NameNotFoundException' to prevent apps enumerating installed apps (and maybe bind this to getInstalledPackages whitelist)?
The text was updated successfully, but these errors were encountered:
Just depends on the implementation. The Playstore dynamically pushes any relevant entry (package name) through it in realtime and updates the internal database accordingly. That's why getInstalledPackages misses the 'Installed' marker everywhere (including the 'All' apps tab).
Please note that there are many more methods to check if a package is installed.
It would be a performance hit if they were all hooked.
Nevertheless I guess the two hooked functions will probably cover most cases.
Note that these two new restrictions only work in AOSP mode (not in compatibility mode) and only for version 2.99.30 or later)
Can you restrict 'PackageManager/getPackageInfo' to return 'NameNotFoundException' to prevent apps enumerating installed apps (and maybe bind this to getInstalledPackages whitelist)?
The text was updated successfully, but these errors were encountered: