OSDN Git Service

try to start tablet-mode only after zygote is running
authorStefan Seidel <android@stefanseidel.info>
Wed, 29 Feb 2012 13:46:05 +0000 (14:46 +0100)
committerStefan Seidel <android@stefanseidel.info>
Wed, 29 Feb 2012 13:46:05 +0000 (14:46 +0100)
init.thinkpad_x41t.rc

index b597b72..4971709 100755 (executable)
@@ -12,21 +12,21 @@ on boot
     setprop system_init.startsurfaceflinger 0
 
 service wacom-input /system/bin/wacom-input
-    class late_start
     disabled
 
 service tablet-mode /system/bin/tablet-mode
-    class late_start
     disabled
     oneshot
 
+on property:init.svc.zygote=running
+    start tablet-mode
+
 service amixer-pcm /system/bin/alsa_amixer set PCM 100 on
     oneshot
     disabled
 
 on property:dev.bootcomplete=1
     start wacom-input
-    start tablet-mode
     start amixer-pcm
 
     chmod 660 /sys/class/rfkill/rfkill0/state