Unpin some policy-pinned apps in Demo Mode when offline
Devices in Demo Mode are enrolled into the cros-demo-mode.com domain, which uses enterprise policy to set the list of force-installed apps and which of those apps are force-pinned to the shelf. This lets us choose which first and third party apps to feature in the demo. A few demo apps only work online. When a device in Demo Mode is offline, we don't want to feature those apps, but they're unconditionally force-pinned by policy. This CL updates the shelf's pinned policy pref handling to ignore certain apps pinned by policy when the device is in Demo Mode and offline. The user can still pin and unpin those apps themselves. Bug: 870846 Change-Id: Ie15ea89f77fd5ed6a789614a83c39bb2aee286d2 Reviewed-on: https://chromium-review.googlesource.com/1179318 Commit-Queue: Michael Giuffrida <michaelpg@chromium.org> Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#586015}
Showing
Please register or sign in to comment