| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I03e44839c1d9e11f5c6de701978772b49f3d98cb
Ticket: RM-231
|
|
|
|
|
| |
Change-Id: If796f3956cf227baae63947e952dcf9776d70d66
Ticket: RM-231
|
|
|
|
|
| |
Change-Id: If02ecba124f507215ab0fec3ece6d504e81431e1
Ticket: RM-231
|
|
|
|
|
| |
Change-Id: I0e828f3127ef34fe4fe6ee9ac786113361d44c99
Ticket: RM-214
|
|
|
|
|
| |
Change-Id: I286aa16fe12b3ceae52f546151000b82f668f140
Ticket: RM-231
|
|
|
|
|
| |
Change-Id: Ia1b3053e895ee2728b3496e0df1dc559ee82c16a
Ticket: RM-231
|
|
|
|
|
|
|
| |
Issue-id: YAM-144
Change-Id: Iea23ae9842012aab35d2291c75edf406af921bbd
(cherry picked from commit 0ac486a41abf2eca3cd0412465dc6273bcdb7872)
(cherry picked from commit d8a97a893fbf585c3b107c6bffb4865b4689e0a6)
|
|
|
|
|
|
| |
RM-231
Change-Id: Ibd8f295bacd9cfd6fd15f6022ca9f6114bd77414
(cherry picked from commit 2cf28de4866469b0294e1e017c8ca2bc096e377e)
|
|
|
|
| |
Change-Id: Ic9858645627586c02a98af1578a30e38f921e60d
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
CRs-Fixed: 972557
Change-Id: I7a87f897c29b033c46e9dc3b4d9d99a0eb46e7e4
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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 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>
|
|
|
|
|
|
|
| |
Signed-off-by: juncao <juncao@codeaurora.org>
Change-Id: I1dcd614614326bc6fc5da15f8f64ca5312b79da3
CRs-Fixed: 963817
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
This reverts commit 92871d4e2a9fb803a046d5fc3109ca5b5e8aeddb.
Change-Id: Iff2ffa10e00b05cdcc9ca3a1f59b5525247f4b03
|
|
|
|
|
|
|
| |
Update fm app to use device loopback for
playback on headset, headphone or speaker.
Change-Id: I44642858cc9a42fad0fad2ad3f8487aaa624d35e
|
|
|
|
| |
Change-Id: I3a8b8dee88f9667d1ec7f8c15e8035116a655780
|
|
|
|
| |
Change-Id: I33d547feae3dc617e5c054c5076eab38a6a74b7d
|
|
|
|
| |
Change-Id: I3ac560a32437eac593fa8274b9b0a2c1c96a468e
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
For CM changes to the Qualcomm FM app from CM12.1 to CM13.0,
resolving conflicts as necessary.
Changes touching only FMRecord have been either dropped or
adapted, as appropriate, to the recording features in
'fmapp2'. FMRecord is not longer used at as of Qualcomm
commit 3fc88f538f ("FM: Refactoring FM audio interaction"),
which moves recording back into fmapp2.
* changes_from_cm12.1:
FMRecorder : Save to a private temporary file while recording
Fm : Update India bands
Automatic translation import
Automatic translation import
Automatic translation import
Automatic translation import
Automatic translation import
Automatic translation import
Automatic translation import
FMRadio : Fix headphone icon
FMRadio : Fix settings UI bugs
Fix camel case
Fix compile
FMRadio : Localization of band types
Automatic translation import
Automatic translation import
FMRadio : improved band selection
FMRadio : cleaned up band selection code
Automatic translation import
FMRadio : Select band based on country
Automatic translation import
Automatic translation import
FMRadio : Keep track of scanned frequencies in service
Automatic translation import
FMRadio : Ensure scan state is kept in sync
Automatic translation import
Automatic translation import
FM: The collect channel disappear when quit FM
Automatic translation import
Automatic translation import
Fix status text to reflect when FM is enabled.
Automatic translation import
Automatic translation import
FM: fix mRadioTextScroller usage in transmitter activity
Automatic translation import
Automatic translation import
Automatic translation import
FM: respect hw.fm.internal_antenna
Automatic translation import
FMRadio : Launch station list automatically after scan
Automatic translation import
Automatic translation import
Automatic translation import
Automatic translation import
FM: reenable radio text visibility after station info updated
FM: Store tag num/value in sequence
FM: always use overlay default country
FM: retune last frequency when resume after call
FM2: one more missing materialization change
FM2: missing materialization changes
fmapp2: materialize
FM: fixup strings
Automatic translation import
New Material icon
Move Indonesia entries to arrays
Automatic translation import
FMRadio: add Indonesia
Automatic translation import
Automatic translation import
Automatic translation import
FM: Add property to force use internal antenna
Automatic translation import
FM: Cleanup resources
FMRadio : Switch file extension to aac
FMRadio : Call unregister in onPause
Scanned frequencies are saved in ascending ordering
FmRadio : Re-add RDS fields to UI
Fm : Make default country an overlay
Fm : Restore seek arrows
FMRadio : Re-vamp UI
FM: jni: Fix compile error with TARGET_QCOM_NO_FM_FIRMWARE
fmapp2: new launcher icon by LeopardSurd
jni: Skip loading FM firmware if requested
FM2: Update notification to use notification builder
Break bootclasspath dependency
Allow library to be used by apps directly
Issue-Id: SAMBAR-1282
Change-Id: I76d52b0e1b9901c767466bb082fb7b493519f302
|
| |
| |
| |
| |
| |
| |
| | |
While recording save to a temporary private file and once finished,
move to external storage
Change-Id: If82a84beeffe2ea8e5ba4bf7e93e4f3d6203e10f
|
| |
| |
| |
| | |
Change-Id: I1727b585865b422ef5124a3da2d2be384f9fdfa1
|
| |
| |
| |
| | |
Change-Id: I72fce8b4efe95bd4b3067c13b45d4d5efa036f47
|
| |
| |
| |
| | |
Change-Id: I9c52baab3f9408544332c1a0c3ca4f8c1066709e
|
| |
| |
| |
| | |
Change-Id: Ifad029bbcc74b97cb4d9f28e6406bcdf87f2f9af
|
| |
| |
| |
| | |
Change-Id: I1e02aedf9dfc53eb8d85dc99d9b2e1552b2671ab
|
| |
| |
| |
| | |
Change-Id: Ie74cc6cc2adee5b41eea693463c6c6937c0ea850
|
| |
| |
| |
| | |
Change-Id: I30d19ec52f42727e622eb8a0be045b6e3f5ec177
|
| |
| |
| |
| | |
Change-Id: I7d728d06dea4d37bba0f93e0660ffbd03e555cfa
|
| |
| |
| |
| |
| |
| |
| |
| | |
Original headphones were mis-matched w.r.t. default/selected. This
change normalizes the icon. Also fixes a couple compiler warnings
in FMRadio.java
Change-Id: Iee383bc23455562f21c3c431d5b291506e0e3e13
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Setting any user-defined parameter caused the band to switch
from user-defined to Indonesia. Fixed.
Also removed some bogus localization while I was there.
Issue-Id: CYNGNOS-778
Change-Id: I256f04eab39b820b33676bf598322d480d6dfa44
|
| |
| |
| |
| | |
Change-Id: I8d3bf40aa1ab4643b3062eb86a89ccd21577ce23
|
| |
| |
| |
| |
| |
| |
| | |
Partial revert of I6be12d05f9efdec7ec189d30f625d7f82746b5a6 to fix
build.
Change-Id: I5161a726287585624d756fbaf721eb7a814a4794
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, FmRadio could only display the type names for English and
two dialects of Chinese, despite already having a full set of localized
names in the resources. This change moves the names from <array>s to
<string>s and then uses them in PresetStation.java
This looks like a massive change, but it's mostly moving strings to
different resource files.
Change-Id: I6be12d05f9efdec7ec189d30f625d7f82746b5a6
Issue-id: CYNGNOS-995
|
| |
| |
| |
| | |
Change-Id: Idb56bfcc4caaf68d9a94b1167083375e4724c1f9
|
| |
| |
| |
| | |
Change-Id: If85930e3d64ebefd88696042e6f51ce7433c7599
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now tries to obtain the location from the telephone network
instead of locale. This will select the band based on where
the user actually *is*, rather than based on their language
selection. If the telephone network fails, falls back
and uses the locale.
Change-Id: Id05f399d9f14911004fd3bca98230deb31ae768d
Issue-id: CYNGNOS-738
|