Skip to content
Snippets Groups Projects
  1. Mar 28, 2016
    • Kamal Negi's avatar
      FM: Fix Static Analysis Issues · 1aab93ff
      Kamal Negi authored
      Removed unused variable and cleanup code for FM seek
      functionality.
      
      Change-Id: I01d9a55f76e1c7d68abfad9d513ae6b3625c5c77
      1aab93ff
  2. Mar 25, 2016
  3. Mar 14, 2016
    • Xuebo Li's avatar
      FM: Regional requirement for FM · 38993a97
      Xuebo Li authored
      Add resource to customize FM-recorder files name format.
      Add resource to customize the save path of FM-recorder files.
      Add resource to customize media type.
      
      Change-Id: I348424f3184b2603492db285695b95070e434037
      CRs-Fixed: 979034
      38993a97
  4. Mar 09, 2016
    • Rupesh Tatiya's avatar
      Reset FM audio settings on off. · 1314b050
      Rupesh Tatiya authored
      When FM is either turned off or factory reset is done or headset is pulled
      out, unmute the audio and restore audio path to system default.
      
      CRs-Fixed: 981687
      Change-Id: Ibb9f18e49fdcd9f07cea4006748bab48bd87216c
      1314b050
  5. Feb 24, 2016
    • Rupesh Tatiya's avatar
      Add two new callbacks for FM start/stop. · 2178470f
      Rupesh Tatiya authored
      When FM is stopped, UI elements like speaker button and mute button should
      be disabled and they should be enabled when FM is started.
      
      Change-Id: I940706d3f587b38449a5f07dadbec04f68f5c9c0
      2178470f
  6. Feb 09, 2016
  7. Feb 08, 2016
    • Rupesh Tatiya's avatar
      Restore default wired headset on FM power off · 93d2155d
      Rupesh Tatiya authored
      During factory reset, repeated FM on/off during a session were resulting
      in selection of previous audio route. This restores the route to default.
      
      CRs-Fixed: 972818
      Change-Id: Ie2d3759363151bf991f890cd58155e184ad3331e
      93d2155d
  8. Feb 05, 2016
  9. Feb 03, 2016
    • Rupesh Tatiya's avatar
      Do not disable FM receiver on Music Service commands · c9829e56
      Rupesh Tatiya authored
      Music service command pause should be handled in similar way to audio
      focus loss. If not done so, FM playback will be stopped and won't be
      restarted when music service stops.
      
      CRs-Fixed: 967670
      Change-Id: Ied04bd305fee393668c72b4f46f6bfaf0be49088
      c9829e56
  10. Jan 29, 2016
  11. Jan 28, 2016
    • Rupesh Tatiya's avatar
      Request for audio focus on activity resume · dcad956a
      Rupesh Tatiya authored
      FM might lose audio focus and go in the pause state. Hence request audio
      focus during resume. Otherwise, activity displayed might be FM but audio
      source might be something else like music.
      
      CRs-Fixed: 966644
      Change-Id: I681b51f3a54abbc04223c60496aa3049b6769a1f
      dcad956a
  12. Jan 27, 2016
    • Rupesh Tatiya's avatar
      Check for audio focus before enabling audio path · 70ca6d4f
      Rupesh Tatiya authored
      In scenarios where FM has lost audio focus and FM service is running, we
      end up enabling FM audio path when A2DP is disconnected. This results in
      more than one audio source being played simultaneously. Enable FM audio
      path only when FM has audio focus.
      
      CRs-Fixed: 967753
      Change-Id: I8d5f28cb9ce3545908362e83e787fcc43394a0ac
      70ca6d4f
  13. Jan 25, 2016
  14. Jan 21, 2016
  15. Jan 12, 2016
    • Rupesh Tatiya's avatar
      Reset notch filter only if it is set. · 8d881500
      Rupesh Tatiya authored
      Everytime there is data activity, notch filter settings need to be
      updated. This request gets queued and executed after a delay of 10
      seconds. The update request might take 2 seconds in the worst case.
      
      Data activity might change very rapidly resulting in large number of
      RESET_NOTCH_FILTER messages being put queue before the first request
      itself is processed. In such scenario, multiple requests are processed
      together and they will take time to execute greater than ANR threashold
      time.
      
      CRs-Fixed: 958512
      Change-Id: I78521f425d7419f3a3d577cc573560d3601b1b1e
      8d881500
  16. Jan 06, 2016
  17. Jan 05, 2016
    • Rupesh Tatiya's avatar
      FMRecord: Add REAL_GET_TASKS permissions. · 14151a6b
      Rupesh Tatiya authored
      Without this permission, recording app does not know whether FM app
      is still running and always ends up stopping the recording.
      
      CRs-Fixed: 956285
      Change-Id: I60debca73cf883032cde0abe23f6eeea6e97f323
      14151a6b
  18. Dec 31, 2015
    • Dibyendu Roy's avatar
      FM: Fix ANR due to incorrect error handling in stopRecording · 8d4a88ce
      Dibyendu Roy authored
      stopRecording() API gets called from onRecordingStopped() callback
      function. As a result, when recording can't be stopped successfully
      in error scenarios, stopRecording() gets called in loop.
      
      This fix removes the call stopRecording() from callback function and
      does the required UI update.
      
      CRs-Fixed: 943288
      Change-Id: I0e2ea2adeb0c603f16541d04a5a244bc1fcd51d7
      8d4a88ce
  19. Dec 29, 2015
  20. Dec 23, 2015
  21. Dec 21, 2015
    • kexiao's avatar
      FM: stop AudioTrack before switching output device · 6d42131e
      kexiao authored
      When FM sound comes out from speaker, turn off
      FM then the sound come out from headset for 0.5s.
      Make sure the AudioTrack is stopped before
      switching output device.
      
      CRs-Fixed: 940232
      Change-Id: I55da27408371cad4af90a7ec3dc7e8a52736096c
      6d42131e
  22. Dec 17, 2015
    • Linux Build Service Account's avatar
      Promotion of fm.lnx.1.0-00001. · 49108998
      Linux Build Service Account authored
      CRs      Change ID                                   Subject
      --------------------------------------------------------------------------------------------------------------
      936190   I32fef8e43b226a260d5483b40f5825926c023e62   Change FM off button to release media and audio resource
      932236   Idf3d768e66bd4bafc7d1ef40aefa15982454889c   Do not stop FM Radio Service during unbind using stopSel
      943979   I4f9a446bc0dd7749e62a79c8b8531094572045f6   fmapp2: de-select A2DP audio route on A2DP disconnection
      945076   I1cd683c5cdc584a799749e3b147a6e8b4be45248   fmapp2: Allow switching between wired and Bluetooth head
      
      Change-Id: If4a8883150b39ed6cedde7924fe57e6457b2b632
      CRs-Fixed: 936190, 932236, 943979, 945076
      49108998
  23. Dec 16, 2015
    • Rupesh Tatiya's avatar
      Change FM off button to release media and audio resources. · fd07e807
      Rupesh Tatiya authored
      When FM application is launched, no other Media consuming
      application can receive key events (play, pause etc.) because
      FM service is the owner of MediaSession and AudioFocus. This
      does not bode well for user experience. Change the behaviour
      of FM off button so that we release MediaSession and AudioFocus
      so that other applications can work.
      The same behaviour is enabled when antenna is pulled out.
      
      We differentiate FM off from remote bluetooth headset
      start/stop i.e. when remote headset does start/stop, it starts/stops
      FM. This means that if user presses FM off button, user has to
      explicitly turn it on again.
      
      Also remove old FM Media Button Intent receiver as it is deprecated.
      
      CRs-Fixed: 936190
      Change-Id: I32fef8e43b226a260d5483b40f5825926c023e62
      fd07e807
    • Rupesh Tatiya's avatar
      fmapp2: de-select A2DP audio route on A2DP disconnection. · 34dd5bf7
      Rupesh Tatiya authored
      When audio is routed from wired headset to Bluetooth headset and Bluetooth
      is disconnected, Audio goes to speaker instead of wired headset.
      De-select Bluetooth and let audio routing policy select correct device.
      
      CRs-Fixed: 943979
      Change-Id: I4f9a446bc0dd7749e62a79c8b8531094572045f6
      34dd5bf7
    • Rupesh Tatiya's avatar
      fmapp2: Allow switching between wired and Bluetooth headset · 5ed72806
      Rupesh Tatiya authored
      Remove previous restriction that audio can not be switched between wired
      and Bluetooth headset as Android Audio framework puts no such restriction.
      
      CRs-Fixed: 945076
      Change-Id: I1cd683c5cdc584a799749e3b147a6e8b4be45248
      5ed72806
  24. Dec 11, 2015
    • Rupesh Tatiya's avatar
      Do not stop FM Radio Service during unbind using stopSelf. · 4b44dadd
      Rupesh Tatiya authored
      During Unbind, do not kill FM Radio service. The service might restart
      again and it will end up getting Media Button events starving other
      eligible applications. Use explicit stopService call in FM Radio. This
      calls Destroy callback resulting in proper clean up of FM Radio Service.
      
      CRs-Fixed: 932236
      Change-Id: Idf3d768e66bd4bafc7d1ef40aefa15982454889c
      4b44dadd
  25. Nov 02, 2015
  26. Oct 28, 2015
  27. Oct 06, 2015
    • Venkateshwarlu Domakonda's avatar
      FM: Add headset check · e4643d19
      Venkateshwarlu Domakonda authored
      FM is turning ON even without WHS for AVRCP commands.
      Added headset check before turning ON FM.
      
      Change-Id: I0c0f1c0976ab19a89232a1de6ec4d999a3226fd1
      CRs-Fixed: 918891
      e4643d19
  28. Sep 30, 2015
    • Venkateshwarlu Domakonda's avatar
      FM: Fix the issue state machine · f184c6cb
      Venkateshwarlu Domakonda authored
      As the state is setting to OFF state, next enable is processing
      even though cleanup not happend for previous turn OFF.
      Handle the disable response then set the state to OFF.
      
      CRs-Fixed: 916321
      Change-Id: Ieb8aae20cd859084479c1446f24243ac5f0fbcd0
      f184c6cb
  29. Sep 18, 2015
  30. Sep 15, 2015
  31. Sep 11, 2015
  32. Sep 08, 2015
Loading