OSDN Git Service

Fix crash with Virtual display.
authorarpallet <avinash.reddy.palleti@intel.com>
Fri, 3 Feb 2017 03:57:19 +0000 (19:57 -0800)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Fri, 3 Feb 2017 07:26:03 +0000 (23:26 -0800)
commitc66bd5da56c1c39e266cc1f6aec25a4fae8a08f6
tree1900b4e479d22b38961868a6185b1b1b67810a7b
parent17a441b1b9b11cb4122cd37d555fecc6f3f9e20c
Fix crash with Virtual display.

Ensure we have a valid Native handle before trying to use it.
With Virtual Display, we are compositing all layers together
and may not have a buffer set to each layer.

Signed-off-by: arpallet <avinash.reddy.palleti@intel.com>
os/android/drmhwctwo.cpp