OSDN Git Service

make sure SF initialization is ran at target priority and correct thread group
authorMathias Agopian <mathias@google.com>
Fri, 23 Aug 2013 22:56:38 +0000 (15:56 -0700)
committerMathias Agopian <mathias@google.com>
Sat, 24 Aug 2013 00:10:32 +0000 (17:10 -0700)
commit9414d67f46d315873502b909ee51bab7abf3f9cc
treeddc8289c5eb70df7d96d9c48524baac77845f516
parent464febc44908fb4a8fca9e513ba8469750dde838
make sure SF initialization is ran at target priority and correct thread group

SF can spawn threads (indirectly) during initialization
and we want those to be spawned at URGENT_DISPLAY_PRIORITY
(in theory they should set their own, but some code lives
in vendor libraries and doesn't).

Bug: 10430209
Change-Id: I5b3a8f979297de287614c8eafd8267bef1176e4b
services/surfaceflinger/Android.mk
services/surfaceflinger/SurfaceFlinger.cpp
services/surfaceflinger/main_surfaceflinger.cpp