diff options
author | Santos Cordon <santoscordon@google.com> | 2017-03-21 17:05:36 -0700 |
---|---|---|
committer | Santos Cordon <santoscordon@google.com> | 2017-03-25 00:37:11 +0000 |
commit | 975c00d8ffeeb72a05bc229e0e1234e771c4a824 (patch) | |
tree | 416b579d6e11c9c6d6ba61c677e561cb15e05e74 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 63d98310207abee5d87a2a837bd0acaa74fa1ed7 (diff) |
Add a default Surface to the VR Virtual Display.
Uses ImageReader as a do-nothing Surface to ensure the Virtual Display
gets passed through to SurfaceFlinger.
Without a Surface, the Virtual Display never makes it through the
android system to SurfaceFlinger. This change is needed to get the
Virtual Display recognized in the Flinger layers.
Test: 'setprop vr_virtualdisplay true' to enable virtual displays.
'setprop vr_debug_vd_receiver true' and shell restart for the test app.
Bug: 36491910
Change-Id: I2bf2cb4035dcf04484b7fb0bec61671864069335
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions