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:
parent
f21daa6c76
commit
cd719e44db
1 changed files with 7 additions and 0 deletions
|
@ -575,6 +575,13 @@ service port-bridge /system/bin/port-bridge
|
||||||
group radio system inet
|
group radio system inet
|
||||||
oneshot
|
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
|
# QMUX must be in multiple groups to support external process connections
|
||||||
service qmuxd /system/bin/qmuxd
|
service qmuxd /system/bin/qmuxd
|
||||||
class main
|
class main
|
||||||
|
|
Loading…
Reference in a new issue