VR: Don't use stay_hidden animation on O+
We don't need to use the stay_hidden animation to hide the preview window on O+ because we use the vrmode configuration to disable the preview window when launching the Activity in VR. This also sped up VR entry significantly enough to expose a race condition where if you hide the controls before the render has had time to produce a frame, the java and native code disagree on the state of the controls, but the native code defaults to thinking the previous state is controls hidden, and so drops the message. Bug: 817934, 806004 Change-Id: I6f4caaaf29c1fede7f21376d21d5ab86c5010523 Reviewed-on: https://chromium-review.googlesource.com/961265Reviewed-by:Bo <boliu@chromium.org> Reviewed-by:
Biao She <bshe@chromium.org> Commit-Queue: Michael Thiessen <mthiesse@chromium.org> Cr-Commit-Position: refs/heads/master@{#543143}
Showing
Please register or sign in to comment