[FM] Earphone mode incoming call ringtone issue in loudspeaker

Listen to FM -> switch to loudspeaker mode -> now go to music
player to listen to music with earphone connected, Music switches
to loudspeaker mode automatically even when the earphones are connected.

Bug 19729515
from: https://partner-android-review.googlesource.com/#/c/209191/

Change-Id: I17f84a6ceb63783ca7627eab2b8dd6bf59fe151b
Signed-off-by: Benson Huang <benson.huang@mediatek.com>
2 files changed
tree: 905c95d932a3c6713b07309e549d32dcd698ab92
  1. Android.mk
  2. AndroidManifest.xml
  3. jni/
  4. res/
  5. src/