VR: Re-target intents not obviously intended for VR back to 2D launcher
Some apps roll their own intent dispatching code, and their intent dispatching code is incorrect, so they end up erroneously firing 2D intents explicitly to the VR launcher. If either the intent doesn't have the Daydream category, or the system isn't in a VR session (meaning launchInVr definitely wasn't used), retarget the intent back to the 2D launcher. Tested on a local Chrome dev build, verified it fixes b/78239314 too. Bug: 836209 Change-Id: I779c7bf3820ddd50650eb6752d720246a86d24b1 Reviewed-on: https://chromium-review.googlesource.com/1028572 Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Reviewed-by:Biao She <bshe@chromium.org> Cr-Commit-Position: refs/heads/master@{#553775}
Showing
Please register or sign in to comment