diff options
author | Jon Pry <jonpry@gmail.com> | 2012-07-30 16:36:35 -0400 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-11-28 21:16:24 +0200 |
commit | 3e744b70d9fa563ce73bd7604a2afd4cd1824e30 (patch) | |
tree | 9c9ea6566b05e3975ec8c1884aab8eeeaa5a842d /security | |
parent | f8fad876d9915836b899f6084600f1bfea797637 (diff) | |
download | hardware_ti_omap4-3e744b70d9fa563ce73bd7604a2afd4cd1824e30.zip hardware_ti_omap4-3e744b70d9fa563ce73bd7604a2afd4cd1824e30.tar.gz hardware_ti_omap4-3e744b70d9fa563ce73bd7604a2afd4cd1824e30.tar.bz2 |
Fix electron beam crash
Under certain circumstances the ICS SurfaceFlinger attempts to disable
the hwc module by calling prepare with the list set to NULL. This code
path is specifically used by the Electron Beam screen off animation.
Since blit_reset() is just checking for a geometry change, this patch
handles the list pointer null case.
Reproducible with:
service call SurfaceFlinger 8 i32 1
(Thanks Jon & Michael!)
Change-Id: I27114b173446729511115bc73e780e7fdca8722b
Signed-off-by: Tony Lofthouse <tony.lofthouse@ti.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions