Remove profile information from app shims
When an app is profile-agnostic, change the Info.plist to: - Not embed the profile name in the kCFBundleIdentifierKey value - Not specify the kCrAppModeProfileDirKey value at all - Not specify the kCrAppModeProfileNameKey value at all - Strip the profile path out of the kCrAppModeUserDataDirKey value - Note that the user data dir still references the launching user's home directory, so these shims cannot be moved to /Applications. - That is tracked in the separate https://crbug.com/1021237 When searching for an app shim via bundle identifier, allow profile- agnostic apps to use either the profile-scoped or profile-agnostic shim. This will allow users to continue using pre-existing shims. A follow-on patch will add UMAs to query how often this occurs, so we can decide when to remove that code. This is all still behind a flag. Bug: 1001222 Change-Id: I2515fb179b6fde5ffa3b04c32e50fb93c6329860 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1894164 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:Dominick Ng <dominickn@chromium.org> Cr-Commit-Position: refs/heads/master@{#712700}
Showing
Please register or sign in to comment