Romain Guy c613328582 Fix native crash when enabling hardware acceleration.
This change also prevents hardware acceleration when the ViewRoot is in the
system process. This causes problem in EGL intialization because of having
both a SurfaceControl and a Surface. This is not needed and better to leave
it off anyway (so that preview windows don't get unnecessary hw acceleration.)

Change-Id: I1cc55d7fb9a4c1a9c4c59f11f49d3e44de78acef
2010-06-10 16:17:24 -07:00
..
2010-06-09 12:26:29 -07:00
2010-06-03 16:34:18 +08:00
2010-06-09 17:11:05 -07:00
2010-06-09 16:09:19 -07:00