* changes: Create PackageInstalledParams for onPackageInstalled(). Refactor updatePermissions() into onPackageInstalled().