Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8203a9aa authored by Adnan Begovic's avatar Adnan Begovic
Browse files

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)
parent d03fb3dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment