fm: Check proper FM state before enabling FM Rx/Tx

FM Tx on/off does not work when following steps are
followed: Enable FM Rx, launch Tx app, unplug headset,
wait untill Tx turns on, plug in headset, wait for Tx
to turn off, go to home screen, unplug the headset
and turn on/off Tx.

Do not update FM state for Rx enable requests while
Tx is on or vice versa

Change-Id: I8bd5d6d7d027e083c32d1cbf69689f96bfa58858
CRs-Fixed: 485895
2 files changed
tree: 0b807e7d41ad4694aec160080f7aab5fbea4bbeb
  1. jni/
  2. qcom/
  3. Android.mk