From 9068054d360f4fbe92785ea7a08ea425a01084ba Mon Sep 17 00:00:00 2001 From: Chih-Wei Huang Date: Wed, 22 Feb 2012 17:18:20 +0800 Subject: [PATCH] generic_x86: disable standalone surfaceflinger To switch between virtual consoles, we are unable to use standalone surfaceflinger. If standalone surfaceflinger is preferred for a target, just set system_init.startsurfaceflinger=0 --- generic_x86/init.rc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/generic_x86/init.rc b/generic_x86/init.rc index 8609dda..ac6ac84 100644 --- a/generic_x86/init.rc +++ b/generic_x86/init.rc @@ -294,7 +294,7 @@ on boot setprop rild.libargs "-d /dev/ttyUSB1" # Set this property so surfaceflinger is not started by system_init - setprop system_init.startsurfaceflinger 0 +# setprop system_init.startsurfaceflinger 0 class_start core class_start main @@ -438,6 +438,7 @@ service surfaceflinger /system/bin/surfaceflinger user system group graphics onrestart restart zygote + disabled service zygote /system/bin/app_process -Xzygote /system/bin --zygote --start-system-server class main @@ -546,6 +547,9 @@ service logcat /system/bin/logcat -v time -f /data/log.txt disabled oneshot +on property:system_init.startsurfaceflinger=0 + start surfaceflinger + on property:dev.bootcomplete=1 start userinit stop console -- 2.11.0