Merge "Compute PermissionInfo.FLAG_INSTALLED instead of mutating ParsedPermission."