fm: delay fmhalservice property start
In subsequent FM off/on scenario, during FM off fmhal service has been
killed successfully but there is time delay in service stopping
and service stopped status. In the meantime during FM on, if fmhal service is
set to start, init will not start service as previous status is stopping, FM
on will fail. Hence delay fmhalservice property execution by 100ms.
Change-Id: Ifb4554f77ad83f6a92bca643a59ca2f1213ca39f
diff --git a/fm_hci/fm_hci.c b/fm_hci/fm_hci.c
index f45a00a..d509395 100644
--- a/fm_hci/fm_hci.c
+++ b/fm_hci/fm_hci.c
@@ -391,6 +391,7 @@
return;
}
// property_set("wc_transport.fm_service_status", "0");
+ usleep(100 * 1000); // 100 msecs
property_set(FM_VND_SERVICE_START, "true");
ALOGI("%s: %s set to true ", __func__, FM_VND_SERVICE_START );
for(i=0; i<45; i++) {