hwc: always make forward progress in fimd set()
authorGreg Hackmann <ghackmann@google.com>
Mon, 8 Oct 2012 21:54:45 +0000 (14:54 -0700)
committerGreg Hackmann <ghackmann@google.com>
Mon, 8 Oct 2012 22:25:05 +0000 (15:25 -0700)
commitec13dead1baa6ffb18efd08f33aef9be52707b49
tree7a7203a2bab47f5c0702251d4dd2dc3bb31d896d
parente43660b0942380839ac881a6af7106c4aace8a29
hwc: always make forward progress in fimd set()

If the FIMD's set() fails for any reason, post a black screen to ensure
forward progress, and try setting the HDMI contents anyway.  If the
black screen fails something has gone horribly wrong, so terminate the
runtime.

Bug: 7304464
Change-Id: I6d7333574286e3a87c990c2476c5d987613067d8
Signed-off-by: Greg Hackmann <ghackmann@google.com>
libhwc/hwc.cpp