pms: Skip reinstall of prebundles correctly per user.
If you created a new user after uninstalling a few prebundled apps, switched to the said user, and rebooted, you would have your uninstalled prebundles reinstalled unconditionally. This is due to peekPackageLPr's implementation of checking for package settings not being per user, while the checks for wasPrebundledPackageInstalledLPr and shouldPrebundledPackageBeInstalled are. Now, key off of whether any package settings exist, is currently installed for the user, and if it was ever installed before before attempting the parsing process. TICKET: CYNGNOS-2709 Change-Id: Ie3e1420cfbaedb9951d55e2a3b868a6fdd5e54c2 (cherry picked from commit 82a138ea)
Loading
Please register or sign in to comment