land: fm: Use the FM service states to control state
Instead of using the BT state, trigger control operations from the actual FM service state Change-Id: Ib8edd47e8dd2ac7393ca3f0c8b903148bea743d6 Signed-off-by: PrateekChaubey <prateekchaubey123@gmail.com> Signed-off-by: karthick111 <karthickrko61@gmail.com>
This commit is contained in:
parent
7586f60240
commit
9e59bc52dc
1 changed files with 6 additions and 2 deletions
|
@ -534,8 +534,12 @@ service hciattach /system/bin/sh /system/etc/init.qcom.bt.sh
|
|||
on property:bluetooth.hciattach=true
|
||||
start hciattach
|
||||
|
||||
on property:bluetooth.hciattach=false
|
||||
setprop bluetooth.status off
|
||||
#FM
|
||||
on property:hw.fm.init=0
|
||||
write /sys/module/radio_iris_transport/parameters/fmsmd_set 0
|
||||
|
||||
on property:hw.fm.init=1
|
||||
write /sys/module/radio_iris_transport/parameters/fmsmd_set 1
|
||||
|
||||
service bt-dun /system/bin/dun-server /dev/smd7 /dev/rfcomm0
|
||||
class late_start
|
||||
|
|
Loading…
Reference in a new issue