diff options
| author | Mathias Agopian <mathias@google.com> | 2011-03-03 18:48:30 -0800 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2011-03-10 17:30:08 -0800 |
| commit | a40481b2cc604b8b278d509f120cf496c4c318f2 (patch) | |
| tree | 00e4fde1cb8330a3ca5e89949720e67322a8230d /rootdir/init.rc | |
| parent | cf01597121c1c08780966f22e2a62386d0e1a08f (diff) | |
| download | system_core-a40481b2cc604b8b278d509f120cf496c4c318f2.tar.gz system_core-a40481b2cc604b8b278d509f120cf496c4c318f2.tar.bz2 system_core-a40481b2cc604b8b278d509f120cf496c4c318f2.zip | |
Run surfaceflinger in its own process. [DO NOT MERGE]
This is to allow OpenGL ES rendering from the system process,
and help with debugging.
Bug: 4086003
Change-Id: I732e95f4fcaa358f430cc195d8e63a69263bffdc
Diffstat (limited to 'rootdir/init.rc')
| -rw-r--r-- | rootdir/init.rc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index 046ab3dd..9b8f333a 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -295,6 +295,9 @@ on boot setprop net.tcp.buffersize.edge 4093,26280,35040,4096,16384,35040 setprop net.tcp.buffersize.gprs 4092,8760,11680,4096,8760,11680 +# Set this property so surfaceflinger is not started by system_init + setprop system_init.startsurfaceflinger 0 + class_start core class_start main @@ -377,11 +380,18 @@ service ril-daemon /system/bin/rild user root group radio cache inet misc audio sdcard_rw +service surfaceflinger /system/bin/surfaceflinger + class main + user system + group graphics + onrestart restart zygote + service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server class main socket zygote stream 666 onrestart write /sys/android_power/request_state wake onrestart write /sys/power/state on + onrestart restart surfaceflinger onrestart restart media onrestart restart netd |
