Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vr] Call VrShellDelegate.onNewIntent with the correct activity
Before this CL, we were using the last focused activity to create VrShellDelegate when we got a new auto present intent. This breaks when Chrome is already running in the background because CTA is focused after VrShellDelegate handles the intent. As a result of this, ChromeLaucherActivity is the last focused activity and we never ended up auto presenting. See bug for more details. With this CL, we pass the activity into VrShellDelegate.onNewIntent and use that to create VrShellDelegate. BUG=733258 Review-Url: https://codereview.chromium.org/2938873004 Cr-Commit-Position: refs/heads/master@{#479768}
- Loading branch information