mbtk_led_init_switch
Change-Id: I2cb11b405210ee99033b0ebad721369e7f478551
diff --git a/mbtk/mbtk_rild/src/main.c b/mbtk/mbtk_rild/src/main.c
old mode 100755
new mode 100644
index cce002a..145247e
--- a/mbtk/mbtk_rild/src/main.c
+++ b/mbtk/mbtk_rild/src/main.c
@@ -1988,7 +1988,13 @@
}
#ifdef MBTK_PROJECT_T108
- mbtk_led_init();
+ char led_enable_str[10];
+ memset(led_enable_str, 0, 10);
+ property_get("persist.mbtk.led_enable", led_enable_str, "1");
+ if(atoi(led_enable_str) == 1) { // NTP time
+ LOG("Start LED thread.");
+ mbtk_led_init();
+ }
#endif
#if 0