OSDN Git Service

Fix for crash during rotation
authorPallavi G <pallavi.g@intel.com>
Thu, 2 Nov 2017 08:29:48 +0000 (13:59 +0530)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Fri, 3 Nov 2017 00:26:35 +0000 (17:26 -0700)
commit89548753c0c27f8fc26d07697940b6a999517f34
treed9706f705656803e3916c2f67a3fc5e10448b383
parentf7e22423a43e634542d6bf0f0826f6403138bf0e
Fix for crash during rotation

The cursor z_order is not the highest in one of the corner case,
so we end up with segmentation fault in cursor layer getbuffer becoz the
hwc implementation is based on the assumption that the cursor is always on the top.

Jira: None
Test: Able to rotate the screen without system reboot
Signed-off-by: Pallavi G <pallavi.g@intel.com>
os/android/iahwc2.cpp