arc: Prevent showing Arc app window for secondary user profile.
Arc has a limitation to be visible for primary profile only. However, there are situations when Arc task can be started while the secondary profile is shown. Before this led to case when Arc window was shown, which is unexpected. This CL fixes this issue and prevents showing Arc window for non-primary profiles. Test=Manually on the device. Start Arc app in deferred mode and switch to the secondary profile fast. Arc app is started but window is not shown. Switch back to primary profile and window is automatically restored there. BUG=b/31500778 BUG=647379 Review-Url: https://codereview.chromium.org/2345043002 Cr-Commit-Position: refs/heads/master@{#419497}
Showing
Please register or sign in to comment