summaryrefslogtreecommitdiffstats
path: root/fmapp2
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importHEADreplicant-6.0-0004-transitionreplicant-6.0-0004-rc6replicant-6.0-0004-rc5-transitionreplicant-6.0-0004-rc5replicant-6.0-0004-rc4replicant-6.0-0004-rc3replicant-6.0-0004-rc2replicant-6.0-0004cm-13.0Michael Bestas2019-08-10123-15101/+13040
| | | | Change-Id: I78a2745a488c559d2a7586bc9b422aed495a634b
* Automatic translation importreplicant-6.0-0004-rc1Abhisek Devkota2017-12-136-0/+231
| | | | Change-Id: Ic136356bd0779057b6b41ca38bd96cc262d88766
* Automatic translation importreplicant-6.0-0003Abhisek Devkota2017-10-201-1/+1
| | | | Change-Id: I989c6d87c1cc10dae14258f42ba0fcb1ac656ab7
* Automatic translation importAbhisek Devkota2017-09-195-17/+73
| | | | Change-Id: I9a00ed674bc80f3fb5dc87def704061538200bed
* Automatic translation importreplicant-6.0-0002Abhisek Devkota2017-07-032-3/+46
| | | | Change-Id: I118229f07d78a8b60ff166b5acf1d3ecdb024829
* Automatic translation importAbhisek Devkota2017-06-223-94/+51
| | | | Change-Id: Icf0b60e04a655705f04aca3fc6025e06e6ac102f
* Automatic translation importAbhisek Devkota2017-06-032-1/+2
| | | | Change-Id: If57675704c23feb8f4b2b22d61c2255d646491c7
* Automatic translation importreplicant-6.0-0001Abhisek Devkota2017-04-2810-137/+303
| | | | Change-Id: I210ba0e3c1f5c89034929a67d72bdd00243cbddd
* Automatic translation importAbhisek Devkota2017-02-206-3/+314
| | | | Change-Id: I5a38556422379ce19aa4f93f26b06180ec0cffb6
* Automatic translation importAbhisek Devkota2017-02-062-20/+20
| | | | Change-Id: Ifba44b223a54085c3771d3e424c551d14962bbd3
* Automatic translation importAbhisek Devkota2017-02-021-1/+1
| | | | Change-Id: I4e8731f2cd218838315ba0bbd825683d3f894573
* Automatic translation importAbhisek Devkota2017-02-013-22/+22
| | | | Change-Id: I858a259408dc53f1af9e7fa83fc117940f34c85b
* Automatic translation importAbhisek Devkota2017-01-264-16/+40
| | | | Change-Id: I5d8775689383b187af6065dbd57497c3f50d4c9d
* Automatic translation importblinky@build012016-12-241-3/+3
| | | | | Change-Id: I1bed31f02f57944f7202c975780c5dbcb5039bce Ticket: -
* Automatic translation importblinky@build012016-12-211-2/+69
| | | | | Change-Id: I08df35f3ab3591de89c88e2b7afb20c312b05d20 Ticket: -
* Automatic translation importclyde@build012016-12-2034-0/+1054
| | | | | Change-Id: I468c78520a2e043a799ae23649d65cf06459b060 Ticket: -
* Automatic translation importclyde@build012016-12-161-0/+7
| | | | | Change-Id: Ida231b24a9a9fa2e75e23a855971e65e794c2ffc Ticket: -
* Automatic translation importpinky@build012016-12-15131-5191/+5114
| | | | | Change-Id: I9d8f34bbf20049cbb1af7d260d5c54a9a8aaeb02 Ticket: -
* fm: Remove unwanted media button key event listenersstable/cm-13.0-ZNH5YKamal Negi2016-07-143-36/+1
| | | | | | | | | | When FM is turned off, fm app is still listening to media key events (play, pause etc.) which results in other media consuming apps to be starved of Media Key events. Remove unwanted media button listeners so that other media resources can receive key events. Change-Id: Ib43f8b89e07928326c2af771a7465981e1690470
* Convert regional band arrays to string referencesMichael Bestas2016-05-072-78/+156
| | | | Change-Id: Iad9414368f372f962c646fabc70b1351715d30ce
* fmapp2: Allow value for the default fm recording duration to be overlayed.Ankit Gupta2016-04-213-2/+12
| | | | | | Issue-id: YAM-144 Change-Id: Iea23ae9842012aab35d2291c75edf406af921bbd (cherry picked from commit 0ac486a41abf2eca3cd0412465dc6273bcdb7872)
* Route audio to connected A2DP headset on turn on.Rupesh Tatiya2016-04-192-1/+6
| | | | | | | | | | If BT is connected after FM app launch and then FM is turned off and then turned on, audio gets routed to wired headset. Check if A2DP device is connected every time FM is turned on. Also set the UI icon to correct image. CRs-Fixed: 996689 Change-Id: I7314075f1652a1b99b906b674a98dfc12179e9cf
* Handle orientation change in FM appKamal Negi2016-04-192-0/+8
| | | | | | | | | | | | | | A configuration change (such as a change in screen orientation, language, input devices, etc) causes current activity to be destroyed, going through the activity lifecycle process of onPause(), onStop(), and onDestroy() as appropriate. If the activity had been in the foreground or visible to the user, once onDestroy() is called in that instance then a new instance of the activity will be created. Change will ensure that activity doesn't get restarted on orientation configuration changes. Change-Id: Ie991c90528834dd6106a586dccdd20a11a701fab
* Fix null pointer exception in FMRadioServiceMingbo Zhang2016-04-191-3/+6
| | | | | CRs-Fixed: 992487 Change-Id: Iba131108d2b358678e4894dfedfbbf9d784c8217
* Automatic translation importMichael Bestas2016-04-165-2/+310
| | | | Change-Id: I07f9a407b538d0692c71ce4272d5c3f225e37bb2
* Automatic translation importMichael Bestas2016-04-065-89/+141
| | | | Change-Id: Ibd8f295bacd9cfd6fd15f6022ca9f6114bd77414
* Automatic translation importMichael Bestas2016-03-2810-200/+39
| | | | Change-Id: Ic9858645627586c02a98af1578a30e38f921e60d
* Reset FM audio settings on off.Rupesh Tatiya2016-03-232-7/+7
| | | | | | | | 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
* Add two new callbacks for FM start/stop.Rupesh Tatiya2016-03-224-2/+30
| | | | | | | 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
* Restore default wired headset on FM power offRupesh Tatiya2016-03-221-2/+11
| | | | | | | | 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
* Update mute API usage to fix pops and consistencyDhananjay Kumar2016-03-221-9/+8
| | | | | | | | | Remove deprecated setStreamMute API and instead control volume of audio track. Since we are controlling mute/unmute state of FM audio track, we don't have to save/restore it for other audio applications. CRs-Fixed: 966690 Change-Id: I242c63c3edd988ed4b85e631b857d0696935cb76
* Need to update UI in onResume though fmservice not boundMingbo Zhang2016-03-221-8/+8
| | | | | CRs-Fixed: 972557 Change-Id: I7a87f897c29b033c46e9dc3b4d9d99a0eb46e7e4
* Do not disable FM receiver on Music Service commandsRupesh Tatiya2016-03-221-12/+3
| | | | | | | | | 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
* Disable/enable radio on factory resetRupesh Tatiya2016-03-221-2/+3
| | | | | | | | Recording was failing to stop on factory reset. Also mute button status was not being reset. Also, FM Radio should also be restarted. CRs-Fixed: 968376 Change-Id: If9966a887a09a5fd6813637b61b075616362ff39
* Request for audio focus on activity resumeRupesh Tatiya2016-03-221-17/+30
| | | | | | | | | 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
* Check for audio focus before enabling audio pathRupesh Tatiya2016-03-221-0/+6
| | | | | | | | | | 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
* Stop recording only if its storage is unmountedRupesh Tatiya2016-03-221-12/+18
| | | | | | | | | Stop FM recording only if the storage where it was saving file is unmounted and not on unmounting of any other storage as done before. CRs-Fixed: 964047 Change-Id: Ic9dc2ca3ef2c9c91400156be47da4a6c8620ce8c Signed-off-by: Rupesh Tatiya <rtatiya@codeaurora.org>
* Change value of mSpeakerPhoneOn when BT becomes on or offjuncao2016-03-221-0/+5
| | | | | | | Signed-off-by: juncao <juncao@codeaurora.org> Change-Id: I1dcd614614326bc6fc5da15f8f64ca5312b79da3 CRs-Fixed: 963817
* Reset notch filter only if it is set.Rupesh Tatiya2016-03-221-11/+16
| | | | | | | | | | | | | | | 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
* FM: Fix ANR due to incorrect error handling in stopRecordingDibyendu Roy2016-03-221-11/+9
| | | | | | | | | | | | 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
* FM: stop AudioTrack before switching output devicekexiao2016-03-222-8/+5
| | | | | | | | | | 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
* Change FM off button to release media and audio resources.Rupesh Tatiya2016-03-223-72/+23
| | | | | | | | | | | | | | | | | | | | 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
* fmapp2: de-select A2DP audio route on A2DP disconnection.Rupesh Tatiya2016-03-221-0/+1
| | | | | | | | | 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
* fmapp2: Allow switching between wired and Bluetooth headsetRupesh Tatiya2016-03-222-18/+59
| | | | | | | | 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
* FM: Regional requirement for FMXuebo Li2016-03-222-3/+59
| | | | | | | | | - 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: I5d547ec691d44621b19b2c8435c290b8eafeabc5 CRs-Fixed: 933506
* Revert "FMRecorder : Save to a private temporary file while recording"Xuebo Li2016-03-221-15/+5
| | | | | | This reverts commit 92871d4e2a9fb803a046d5fc3109ca5b5e8aeddb. Change-Id: Iff2ffa10e00b05cdcc9ca3a1f59b5525247f4b03
* FM: update fm app to use device loopbackDhananjay Kumar2016-03-221-4/+59
| | | | | | | Update fm app to use device loopback for playback on headset, headphone or speaker. Change-Id: I44642858cc9a42fad0fad2ad3f8487aaa624d35e
* Fix translations breakageAbhisek Devkota2016-03-191-1/+1
| | | | Change-Id: I3a8b8dee88f9667d1ec7f8c15e8035116a655780
* Automatic translation importMichael Bestas2016-03-17156-225/+5354
| | | | Change-Id: I33d547feae3dc617e5c054c5076eab38a6a74b7d
* fmapp2: String improvementsMichael Bestas2016-03-122-3/+3
| | | | Change-Id: I3ac560a32437eac593fa8274b9b0a2c1c96a468e