OSDN Git Service

If an Activity transitions to VR, then ensure it's in the main stack.
authorSantos Cordon <santoscordon@google.com>
Fri, 21 Jul 2017 23:15:13 +0000 (16:15 -0700)
committerSantos Cordon <santoscordon@google.com>
Thu, 17 Aug 2017 23:03:11 +0000 (23:03 +0000)
commit720ee2eff13ed2e8c995a8da8fc29d9c79657e9d
tree5dc1b5a66816950177a39fe4c0f21fada913d29f
parent8b99c72ca7cce5130470ba7ab1d62598376b3411
If an Activity transitions to VR, then ensure it's in the main stack.

Bug: 62791734
Test: Manual. From VR, start an app that sets VR dynamically via
Activity.setVrModeEnabled. Ensure it transitions from virtual display
to main display via added logging and 'adb shell am stack list'.

Change-Id: I11c1aad09e41666b928a6c2d896f9f2e22bb1aa5
services/core/java/com/android/server/am/ActivityManagerService.java