diff options
| author | Ricardo Cerqueira <ricardo@cyngn.com> | 2016-01-26 13:46:54 +0000 |
|---|---|---|
| committer | Ricardo Cerqueira <ricardo@cyngn.com> | 2016-01-26 13:46:54 +0000 |
| commit | f2595a9d6a6bca7e03843cf2be58a0150e2fb7f4 (patch) | |
| tree | dcdaa8bd972ff461f845c4a508fd1ab5205bc288 | |
| parent | 5308cd681928524dc7765eed3c450c93aa01207c (diff) | |
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
| -rw-r--r-- | rootdir/etc/init.qcom.rc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index b064c30..4cbd94a 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -335,12 +335,11 @@ on property:bluetooth.hciattach=true start hciattach # FM -on property:bluetooth.status=on - write /sys/module/radio_iris_transport/parameters/fmsmd_set 1 - -on property:bluetooth.hciattach=false +on property:hw.fm.init=0 write /sys/module/radio_iris_transport/parameters/fmsmd_set 0 - setprop bluetooth.status off + +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 |
