OSDN Git Service

sf: Initialize EventThread before creating HWC
authorSaurabh Shah <saurshah@codeaurora.org>
Tue, 16 Jun 2015 00:55:51 +0000 (17:55 -0700)
committerSaurabh Shah <saurshah@codeaurora.org>
Wed, 17 Jun 2015 18:08:29 +0000 (11:08 -0700)
commitf9481058101c4e2b38c74048feac383664691d03
tree731f48f04b6e029e779bc54779a237e99e56b97b
parent2ab05fc551f8ee8442b05484cce0350c1b523678
sf: Initialize EventThread before creating HWC

Once HWC is created, it could use any of the provided hooks, which
could lead to a crash if the EventThread (handler) isn't initialized
prior to creating HWC.

Change-Id: I5ea35fe9bcb150fb74aae1295b798bd787ad6cee
services/surfaceflinger/SurfaceFlinger.cpp