Allow activities to be launched on VR 2D display
We were unable to start home activity on VR 2D display since
it doesn't support system decorations. Other standard type
2D activities were also unable to land on VR 2D display due
the launch parameters calculation wasn't take VR into
consideration.
Move all preferred display id calculation to launch parameters
and allow VR 2D display to support system decorations.
Bug: 117614904
Test: atest ActivityManagerMultiDisplayTests
Test: Manual
Change-Id: I4a5cc4d10502815e104c491e927cf60e8446e4cc
4 files changed