On Android, when blink ends a session, everything appears to become
headlocked if we simply end the way we do now (which is to call
xrDestroySession and then shut down the activity). This starts by
shutting down the activity (mimicking what the back button does), and
then only stops the session once that removal has finished. While the
page's content *does* stall in place with this approach, turning
does update the position and exposes the edges of the content. This
is a platform bug that we will follow up on, but this makes the
experience better for the user in the mean time. Followup investigations
will also explore delaying the "stop" in blink, but previous research
indicated that no change occurred.
Bug: 380499384
Change-Id: I0688889977941e9c0f11a5eeb4a6d56ef8111372
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6236184
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1416515}