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
This commit is contained in:
Ricardo Cerqueira 2017-02-25 13:27:33 +05:30 committed by karthick111
parent f21daa6c76
commit cd719e44db

View file

@ -575,6 +575,13 @@ service port-bridge /system/bin/port-bridge
group radio system inet
oneshot
# 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
# QMUX must be in multiple groups to support external process connections
service qmuxd /system/bin/qmuxd
class main