Skip to content
Snippets Groups Projects
  1. Oct 24, 2016
    • Kamal Negi's avatar
      Check for antenna connected on activity restart · 637aa08f
      Kamal Negi authored
      On activity restart, check if antenna connected or not. On activity
      restart we request for audio focus and update the UI with Radio text
      etc. even if antenna not connected. This enables UI and disable it again
      even if FM is turned off.
      
      CRs-Fixed: 1081388
      Change-Id: I0c27f4025322451447423e1f5c07da1f8db790e6
      637aa08f
  2. Oct 20, 2016
  3. Oct 14, 2016
  4. Oct 06, 2016
    • Kamal Negi's avatar
      fm: Return frequency value in getFrequency · 31bed2c7
      Kamal Negi authored
      Return frequency value in getFrequency if call to function is successful
      instead of error value.
      
      Change-Id: I07d62aecbfc396ec94f4b1efb8fd096499a7e3bb
      31bed2c7
    • Satish kumar sugasi's avatar
      Add logic to check dynamic property to enable/disable LPF · 16f0f005
      Satish kumar sugasi authored
      This adds check for system property defined whether to enable or
      disable LPF in soc based on WIFI state or BT State during FM turn ON.
      Also checks system property flag while DATA state is CONNECTED or
      Disconnected  to decide whether to enable or disable LPF in SOC.
      
      Change-Id: I566fc6439c7bbee7326548d92706d0c74b3ff97f
      16f0f005
  5. Sep 30, 2016
    • Kamal Negi's avatar
      fm: synchronize dequeue_fm_tx_cmd function · a9e487b7
      Kamal Negi authored
      In dequeue_fm_tx_cmd function, there is race condition happened between
      command credits decrement and event received for command sent. After
      sending command to SoC, event received immediately and processed before
      it decrement the command credits, hence command credits become zero and
      it stuck in condition wait for command credits and FM failure happens.
      
      Change-Id: Ibb2cf98ade08bbc9b25946d2368b1b7e428397bc
      a9e487b7
  6. Sep 22, 2016
    • Mingbo Zhang's avatar
      Fix: Can't control Alarm/Ring volume after plugout headset and a2dp · 67f115c0
      Mingbo Zhang authored
      1) wired headset is plugin, a2dp is connected, fm is on =>
      2) plugout wired headset, then disconnect a2dp =>
      3) will not control alarm/ring volume via +/- button
      reason: after plugout wired headset, then disconnect a2dp at last,
      configureAudioDataPath(true) will be called and AudioSystem.DEVICE_OUT_FM
      will be set to DEVICE_STATE_AVAILABLE. Then we can only control
      media volume via +/- button.
      
      Change-Id: Ic9b0bad141a8d5d88e6b9b93350a5b02961b91db
      CRs-Fixed: 1047328
      67f115c0
  7. Sep 16, 2016
  8. Sep 15, 2016
  9. Sep 13, 2016
  10. Sep 12, 2016
    • Smriti Gupta's avatar
      FM: FMRadio will wait for the focus from telecom repeatedly · 9a2f2372
      Smriti Gupta authored
      Whenever call is getting ended, FM requests Audio Focus
      before Telecom abandons it, There is delay for about 50ms.
      Now, with this change FMRadio will wait for 300 ms to get the
      focus back from the telecom.
      
      Generally, both FM and Playing Tone for call end are dependent on
      call state changed, so the progress of receiving is in parallel.
      But due FM gets callback via remote calling, it is always slower
      than Telecom. Currently for N, the audio_focus_release had been
      moved into state machine (in work thread), so the issue becomes
      easy to see.
      
      We cannot serial the call_status_change and the audio_focus_release.
      Because Telecom also need to wait DISCONNECTED to paly tone, after
      completed to abandon it.
      So need FM needs to handle it by waiting for some more time.
      
      CRs-fixed: 1061550
      Change-Id: I7676b6816d5c89934bf2360811ea0b1bb2fb850b
      9a2f2372
  11. Sep 05, 2016
  12. Sep 02, 2016
  13. Aug 25, 2016
  14. Aug 20, 2016
  15. Aug 11, 2016
    • Kamal Negi's avatar
      fm: stop recording on transient audio focus loss · b35787e7
      Kamal Negi authored
      When another media session starts, we receive the
      AUDIOFOCUS_LOSS_TRANSIENT. We need to stop fm and fm recording as
      another media session starts.
      
      Change-Id: Iab1ffb1f75b9704c77c408f335ec959ec11e767e
      b35787e7
  16. Aug 05, 2016
  17. Aug 03, 2016
  18. Aug 02, 2016
  19. Jul 30, 2016
  20. Jul 21, 2016
  21. Jul 14, 2016
    • Kamal Negi's avatar
      Toggle FM on receiving AVRCP play command · 8377ec47
      Kamal Negi authored
      While FM is playing over BT and press the play/pause button from BT
      headset, receiving the AVRCP play command from BT headset. On receving AVRCP
      play command from BT headset, if FM is already on, we don't turn off the FM and
      FM keeps playing.
      Toggle the FM to on/off on receving the play command.
      
      Change-Id: Iee34ca9d40929a0f5fd04fcfba0c42f29a0dd388
      8377ec47
  22. Jul 13, 2016
    • Smriti Gupta's avatar
      FM: Fix KW issues. · c4750ada
      Smriti Gupta authored
      Fix KW issues in FM.
      
      CRs-Fixed: 1040552
      Change-Id: I57fec241ecc98735e3ec6cf75837859a4db4ad97
      c4750ada
  23. Jul 08, 2016
  24. Jul 06, 2016
  25. Jun 30, 2016
  26. Jun 29, 2016
  27. Jun 28, 2016
  28. Jun 27, 2016
  29. Jun 24, 2016
  30. Jun 23, 2016
  31. Jun 22, 2016
    • Satish kumar sugasi's avatar
      Enable FM SSR support · 1315d45a
      Satish kumar sugasi authored
      This invoke SSR cleanup when h/w error event happens
      
      Change-Id: I64db56b6ab21ff737fb8da244a33d1e835a4ce63
      1315d45a
    • Kiran Kelageri's avatar
      FM: Handle FM/WAN Co-ex for all RATs. · 20d6683c
      Kiran Kelageri authored
      1> Dynamically Enable/Disable LPF based on RAT configuration
      using property.
      
      2> Unregister intents when FM turned off.
      
      Change-Id: I7ec8a30c77e83c51bcef5834057a7e1a898ed22c
      20d6683c
    • Kiran Kelageri's avatar
      BT-FM Coex: Enable LPF on BT on. · ea98c60e
      Kiran Kelageri authored
      1> To avoid interference enable low pass filter
      as soosn as Bluetooth on intent is received.
      
      2> Enable Low pass filter for BT/WLAN based  on
      dynamic property.
      
      Change-Id: Id090ae6eb60d471083702c0e8f2dbce861feeb99
      ea98c60e
    • Kiran Kelageri's avatar
      FM-WAN Coex: Dynamic configuring of RATs. · 37e7805e
      Kiran Kelageri authored
      Configure RATs needed for enabling LPF dynamically.
      
      Change-Id: Ia2ab914d3d254cf0d4e7197d5e36624a49288d8e
      37e7805e
    • Kiran Kelageri's avatar
      FM: Avoid interference during WLAN/FM and WAN/FM Coex · 6f9f34d5
      Kiran Kelageri authored
      1. To avoid interference during WLAN and FM Coexistence,
      track WLAN status and enable LPF when WLAN is enabled and
      disable LPF when WLAN is disabled.
      
      2. Disable LPF on WAN disconnect for required network types.
      
      Change-Id: Id50262091c44e2d40d4bd5d49e97375ce19863bf
      CRs-fixed: 905230
      6f9f34d5
Loading