summaryrefslogtreecommitdiffstats
path: root/fmapp2/src/com/caf/fmradio/FMRadioService.java
Commit message (Collapse)AuthorAgeFilesLines
* FM2: Update notification to use notification builderKonsta2015-01-081-19/+25
| | | | | | Make FM notifications look like something from this decade. :P Change-Id: Ib0e310a320c49e92224d8d4fc2fab530ff28d974
* FM: Auto turn ON FM after WCNSS SSRSatish Kodishala2014-12-041-7/+40
| | | | | | | After WCNSS SSR, auto turn ON FM from FM app. CRs-fixed: 749400 Change-Id: I9dfa0d9bae621658fdaea2f4ff87f290f748f9b1
* FM: Handle MEDIA Key EventsVenkateshwarlu Domakonda2014-12-011-31/+86
| | | | | | | To handle the MEDIA button intents as per latest android version. CRs-Fixed: 760139 Change-Id: I010585c895a5c5a6ea3e5c7ac9cef4e33c2b36d0
* Merge "FM: Fix the issue with MO call and Mute concurrency"Linux Build Service Account2014-11-261-2/+16
|\
| * FM: Fix the issue with MO call and Mute concurrencyVenkateshwarlu Domakonda2014-11-251-2/+16
| | | | | | | | | | | | | | | | | | | | - As the google made changes in Telephony, while initiating MO call, requesting for Audio focus before change the call state. - To make the same behavior for MO & MT calls, changes made to handle Mute & speaker scenarios. CRs-Fixed: 747388 Change-Id: I0c9f0e891f7065faa8025f046ee00ec207e431df
* | FM: Fix the issue with rebindVenkateshwarlu Domakonda2014-11-211-2/+4
|/ | | | | | | | | On Rebind, service is requesting for Audio focus even though it is in OFF state. Request Audio focus only when the FM is in ON state. Change-Id: I87226e9fd2b9b555b0e7a112d83f1ea7e7c408b8 CRs-Fixed: 760846
* FM: Fix the issue with A2DP disconnectVenkateshwarlu Domakonda2014-11-121-4/+2
| | | | | | | | When A2DP disconnect, audio is routing to headset even speaker enabled. Set the proper device path when A2DP disconnected. Change-Id: Id6d8878b786a365ea637f00a30a4fe609b4a3878 CRs-Fixed: 751702
* Revert "FM: Fix the concurrency issue with FM mute & call scenario"Venkateshwarlu Domakonda2014-09-181-0/+7
| | | | | | | | As the issue with Audio, Fm reverting the change. This reverts commit bd7146131c46e6f865b935e8e1465574f5b5a585. Change-Id: I7f60e92989cd5c71e5d7b6f5dfb2ce4e38f850f6 CRs-Fixed: 726545
* FM: Fix the concurrency issue with FM mute & call scenarioVenkateshwarlu Domakonda2014-08-121-7/+0
| | | | | | | | Unmute is not happening when voice call happens. Removed the call check while mute & unmute. Change-Id: Iba632d4a91c4038b4a80e2743bb2c8c91467b582 CRs-Fixed: 708425
* FM: Fix the issue with headset update notificationVenkateshwarlu Domakonda2014-07-291-0/+1
| | | | | | | | | | FMService receiving headset removal intent after AUDIO_BECOMING_NOISY intent receives. As AUDIO_BECOMING_NOISY will receive only when headset removed, update the headset status flag when the intent receives. Change-Id: I1fe470564dc5b75fac8440849fd77696018fec52 CRs-Fixed: 697141
* FM: Fix the issue with SEEK frequency updateVenkateshwarlu Domakonda2014-06-301-0/+1
| | | | | | | | | | After SEEk complete frequency is not updating when the app is not in focus. After shared preference getting update with tuned frequency, save it properly. CRs-Fixed: 685196 Change-Id: I61bbd01135cd67e8163ee6dc888f3cea12a16b90
* FM: Fix an issue with device switch from BT to speaker.Satish Kodishala2014-06-041-2/+2
| | | | | | | | Set the device to speaker before setting device connection state. CRs-fixed: 669442 Change-Id: I89e37c2f91f764542e1b7b2ffaeb62d72945fb37
* FM: Fix the issue with MO/MT call for FM recordVenkateshwarlu Domakonda2014-05-261-6/+0
| | | | | | | - Audio manager can not handle the record while MO/MT call. Change-Id: I7ee822248fd949b9f4c38ad61c0d044eb0a24327 CRs-Fixed: 663513
* FM: Fix an issue with FM audio when FM app brought to foreground.Satish Kodishala2014-05-061-0/+1
| | | | | | | | | When FM app is sent to background with "back" key and audio focus lost, request for audio focus again while re-lauching FM app. Change-Id: I33622be53d3816949358ba6fe72d4e7b772dc726 CRs-fixed: 625100
* FM: Fix the issue with audio routingVenkateshwarlu Domakonda2014-04-251-1/+1
| | | | | | | | - Audio is routing to BT A2Dp instead of speaker. - Routing the audio to device which is enabled user. Change-Id: I4e60ed4b2d89a9d8974c0f8463d4ff2b810e7823 CRs-Fixed: 630160
* Merge "FM: Fix the issue with audio routing"Linux Build Service Account2014-04-241-0/+4
|\
| * FM: Fix the issue with audio routingVenkateshwarlu Domakonda2014-04-221-0/+4
| | | | | | | | | | | | | | | | | | - Since audio is routing to wired headset even though A2DP is connected, power numbers are same as audio in A2DP. - Routing the audio to A2DP. Change-Id: I96aacb969ec1c960fdc66c54b9b1ae2c6d7ecb32 CRs-Fixed: 629467
* | Merge "FM: Fix the FM recording stopped when AUDIOFOCUS_LOSS_TRANSIENT received"Linux Build Service Account2014-04-231-2/+17
|\ \
| * | FM: Fix the FM recording stopped when AUDIOFOCUS_LOSS_TRANSIENT receivedVenkateshwarlu Domakonda2014-04-211-2/+17
| |/ | | | | | | | | | | | | | | | | - When FM Service receives AUDIOFOCUS_LOSS_TRANSIENT or AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK FM recording is stopped. - As the FM SOC is power ON state, FM recording can continue. Change-Id: I552d60b55c56ad0ea26cc684addbc442a60b2ac8 CRs-Fixed: 638761
* | Merge "FM: Fix the audio noise issue"Linux Build Service Account2014-04-221-0/+42
|\ \
| * | FM: Fix the audio noise issueVenkateshwarlu Domakonda2014-04-181-0/+42
| |/ | | | | | | | | | | | | | | | | - When wired headset removed while FM is playing, audio will route to speaker and it will be noise. - Listen the ACTION_AUDIO_BECOMING_NOISY and disable the FM. Change-Id: I3c6f53993cfaecf0459c655268a37cf8c3e91b43 CRs-Fixed: 643575
* / FM: Fix the issue with save recording fileVenkateshwarlu Domakonda2014-04-161-0/+6
|/ | | | | | | | | | - The recording service is destroyed before recording file stored into database. - Stop destroying the recording service until recording file saves into DB. Change-Id: I06ee356bd74dceaea3c305e6a4fb77e05c33afe2 CRs-Fixed: 638176
* FM: Stop FM when audio focus is gained by html audioSatish Kodishala2014-03-121-1/+2
| | | | | | | | | FM doesn't handle AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK which is sent by html audio, and causes concurrecy playback issue. Treat this audio focus loss as well. Change-Id: Ia09a7dd4f0b7a6bef3c2ee0556d5bcaf6ea4f1b1 CRs-Fixed: 625097
* FM: Fix the issue FM recording timer does not startSatish Kodishala2014-03-041-1/+76
| | | | | | | | | | | - FM recording service gets killed by activity manager as no package component is bound to it, and it runs in seperate process so fm activity does not get notified of this killing. - Start the recording service again and listen the status while recording in progress. Change-Id: I5f83b6279939d70de3f352de43ca35bb386f002d CRs-Fixed: 604930
* FM: Start recording service even when A2DP headset connectedSatish Kodishala2014-02-021-1/+1
| | | | | | | | Start recording service even when A2DP headset connected before FM is turned on. Change-Id: I7e957b950b6a782ee0a176ed80967c8077bbff14 CRs-fixed: 610009
* FM: Send a foreground intent to start recording service.Satish Kodishala2014-01-221-0/+1
| | | | | | | | Send a foreground intent to start recording service sooner. CRs-fixed: 588562 Change-Id: I8491c0c8ea046c3084be79a07efc68bbf0c85133
* Merge "FM: Added support for audio routing from speaker to BT headset."Linux Build Service Account2014-01-171-3/+4
|\
| * FM: Added support for audio routing from speaker to BT headset.Satish Kodishala2014-01-071-3/+4
| | | | | | | | | | | | | | Added support for audio routing from speaker to BT headset. Change-Id: If29ff7024c46265c1baf711d348ac8cd205fa297 CRs-fixed: 595087
* | FM: Don't turn off FM after audio focus loss.Satish Kodishala2013-12-251-1/+7
|/ | | | | | | | Turning off FM when audio focus lost will break FM + alarm concurrency use case. Change-Id: I960e4e2b36ec77556c58c66f8c6d34272d9432b3 CRs-fixed: 576665
* fmapp2: Fix the FM and Music palyer concurency issueVenkateshwarlu Domakonda2013-09-301-1/+1
| | | | | | | | | - Keeping Audio focus listener active even after FM OFF. - Kill the FM service, if FM is in OFF state and when the client disconnected from the service. Change-Id: I1c3583343c87140a3a940ad75107536b39294571 CRs-Fixed: 546306
* fm: Handle audio focus gain request deniedAyaz Ahmad2013-09-181-1/+6
| | | | | | | | | | | FM sound is not heard after rejecting MT call as audio manager does not grant audio focus access.Save the status of audio focus request whether it has been accepted then accordingly handle audio focus gain message from audio manager to route fm audio. CRs-Fixed: 543262 Change-Id: I3391f82fd4ab2ffbcd4378920083c3fbfaec11a8
* Merge "fm: Sleep timer does not stop after force stop"Linux Build Service Account2013-09-181-2/+13
|\
| * fm: Sleep timer does not stop after force stopAyaz Ahmad2013-09-131-2/+13
| | | | | | | | | | | | | | | | | | Sleep timer in fm app continues to show up even after force stop of FM process.Save the sleep timer status information in FM Service Change-Id: I921ae2ca9e366083c75dd1d0390df2b44717e2d1 CRs-Fixed: 535274
* | fm: Check FM process status while recordingAyaz Ahmad2013-09-131-0/+23
|/ | | | | | | | | FM recording does not stop after clearing app data of FM package. When recording starts check repeatedly client status which requested for recording. Change-Id: Ibd33ef18c306f64848e84caf98ce4058f3312414 CRs-Fixed: 535211
* Merge "fmapp2: Fix the issue FM app crash"Linux Build Service Account2013-09-111-2/+3
|\
| * fmapp2: Fix the issue FM app crashAyaz Ahmad2013-09-051-2/+3
| | | | | | | | | | | | | | | | FM crashes when user long presses hook key and taps back key twice in google voice search app. Change-Id: I30a61c012477f01446cd36016a9cb3ad4bb956ed CRs-Fixed: 534027
* | Merge "FM: Check the headset status before turning ON FM."Linux Build Service Account2013-09-061-1/+1
|\ \
| * | FM: Check the headset status before turning ON FM.Venkateshwarlu Domakonda2013-09-051-1/+1
| |/ | | | | | | | | | | | | | | - Without headset, FM is turning ON for AVRCP play command. - Check the headset status before initiating FM ON. Change-Id: Ia7c60e66ec60082dc50d2123f293d06acb4db36e CRs-Fixed: 535441
* | Merge "FM: Turn off FM after audio focus loss"Linux Build Service Account2013-09-061-7/+1
|\ \
| * | FM: Turn off FM after audio focus lossVenkateshwarlu Domakonda2013-09-061-7/+1
| |/ | | | | | | | | | | | | | | - Fm is still running in the back ground when Music player is running. - Make the FM off on receiving audio focus loss. Change-Id: I565574a536fca27157c534ee50c2a05fe8488ed8 CRs-Fixed: 536603
* / FM: Request Audio focus during FM turning ON onlyVenkateshwarlu Domakonda2013-09-061-2/+0
|/ | | | | | | | - FM requests for audio focus even though FM is in OFF state. - Requesting Audio focus only during FM turning ON. Change-Id: I86313a5094c56c5da90c10e440a996824ab8b4a5 CRs-Fixed: 530303
* Merge "fm: Fix the issue FM app does not display audio mode"Linux Build Service Account2013-09-021-1/+1
|\
| * fm: Fix the issue FM app does not display audio modeAyaz Ahmad2013-09-021-1/+1
| | | | | | | | | | | | | | | | | | | | FM app does not display stereo or mono audio output mode after tuning to a station as fm app does not set proper audio preference mode. Save the audio output preference entered by user and the set the saved mode. CRs-Fixed: 525975 Change-Id: I4b71291a731578f217443d27d111ced93dd7ec90
* | FM: Fix the issue recording service gets stoppedVenkateshwarlu Domakonda2013-09-021-1/+1
|/ | | | | | | | | - FMRecording service gets stopped during A2DP connection/disconnection as Fm service sends stop recording intent. - Send the recording service stop only during FM off operation. CRs-Fixed: 529076 Change-Id: I8075bcf400b6f2d0ee803d647bada8f667ef5113
* Merge "FM-APP2: Added recording option on RF Stats activity"Linux Build Service Account2013-08-141-0/+17
|\
| * FM-APP2: Added recording option on RF Stats activityAyaz Ahmad2013-08-021-0/+17
| | | | | | | | | | | | | | - Added recording button on action bar to start/stop recording from RF Stats activity Change-Id: Ia4ce12bf2bf860187a583ad07162ee02080d0d60
* | FM: Play FM in headset after turning ONVenkateshwarlu Domakonda2013-08-061-2/+4
| | | | | | | | | | | | | | | | | | - FM does not resume in headset after it is force stopped while in speaker mode. - Enable FM in headset while starting FM. Change-Id: I393c71b36dadfde51223d4162f3a72b9d6aace54 CRs-Fixed: 496815
* | Merge "FM-APP2: Save Speaker on/off state"Linux Build Service Account2013-08-021-3/+2
|\ \ | |/ |/|
| * FM-APP2: Save Speaker on/off stateAyaz Ahmad2013-08-011-3/+2
| | | | | | | | | | | | | | | | | | | | | | FM resumes on BT headset after MO call from BT headset is ended, even though FM was on speaker before starting MO call, save the speaker on/off state before turning off FM as part of focus loss, incomming/outgoing call notification Change-Id: If61cc1b40f0ea66e38ed6a8c9f31ade3dee4557f CRs-Fixed: 483329
* | Merge "FM-APP2: Configure repeat count for PS string"Linux Build Service Account2013-08-011-0/+11
|\ \