| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
While recording save to a temporary private file and once finished,
move to external storage
Change-Id: If82a84beeffe2ea8e5ba4bf7e93e4f3d6203e10f
|
|
|
|
| |
Change-Id: I1727b585865b422ef5124a3da2d2be384f9fdfa1
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Based on the code reviews on my previous commit, my earlier
code (which was admittedly slapped together in a hurry) was
too sloppy. this is a more elegant solution.
Change-Id: I08fc64ad628a3c8cb9e634310b89ac8abae2d7c8
Issue-id: CYNGNOS-738
|
|
|
|
|
|
|
|
|
| |
Checks the locale country code, and if found in the lists of
known codes, returns the appropriate regional band. If not,
accepts the default from resources as before.
Change-Id: Icaa98ded11e548afc8be446e7bc80a1066bee873
Issue-id: CYNGNOS-738
|
|
|
|
|
|
|
|
| |
By keeping track of scanned frequencies in the service, this allows
us to fetch it when the activity is resumed and not rely on having
active callbacks.
Change-Id: Idea9cab3e5fd2a789333c3f126416e0102613aa8
|
|
|
|
|
|
|
|
|
|
|
| |
In the middle of a scan, the user could navigate away from the activity,
during which the scan could've finished. The activity is no longer synchronized
with the service and causes issues where the dialog for scan keeps showing...etc
Fix this by syncing state in onResume
issue-id: CRACKLING-529
Change-Id: Ief3138e4d6e157ad0b060dc3aced18668959f4e1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[Procedures]:
1.FM->collect one channel
2.Quit FM and enter FM
3.Check the collect channel
[Expect results]:
The collect channel exist
[Actual results]:
The collect channel disappear
Change-Id: I50f9f8d849d7d1bfab1159be51e9ad0ef2bac0a9
|
|
|
|
| |
Change-Id: Idbb39cdd8c6eb016d4644d9e31290507d17ce820
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reproduction of NPE:
1. Add "ro.fm.transmitter=true" to build.prop
2. Reboot the device
3. FM Transmitter app appears
4. Remove headphones (if plugged in) and open the app
Reason:
mRadioTextScroller is not initialized when activity
is being created. When transmission starts (which will
happen automatically on app start if antenna is
available) enableRadioOnOffUI will be called, and
calls to mRadioTextScroller in enableRadioOnOffUI will fail.
Fix:
Add initialization for mRadioTextScroller.
Also added some mRadioTextScroller.mOriginalString
operations just like FMRadio.java
Change-Id: I81d0c924801446258e3a62f479f0f9b31b7f15a8
|
|
|
|
|
|
| |
PS2: Patch from here: http://forum.xda-developers.com/showpost.php?p=60580714&postcount=86
Change-Id: Ic3104de252bac108c925e7cd5f50d9e89ca63779
|
|
|
|
|
|
|
| |
Give status update post scaning for categories
Fix %s showing in stationList
Change-Id: I1845f0cdeb0051bcfb951e2fef791a016fa81ef4
|
|
|
|
|
|
|
|
| |
After radio station info updated, radio text view is set to GONE.
We need turn it back on if FM is still enabled.
Change-Id: I7acea564a352693e19d9e6d934d641327b90be7e
(cherry picked from commit 086a510710b073b4b5c5cd4a0f72341dc6690b84)
|
|
|
|
|
| |
Change-Id: I2acbbde684e7581124577f6e929397279d97cb41
(cherry picked from commit 087fb5a9128f8a9d96289815b1ae4be2ea98981a)
|
|
|
|
|
|
|
|
| |
FM Activity may not available to send down frequency again
after phone call. Then FM service need retune saved frequency.
Change-Id: I26f0921bd8878331c3dedc6e8ff96873dd5a84a6
(cherry picked from commit 4b86c869026d6ef7504d2cecca4c3db9fa9d8c4b)
|
|
|
|
|
| |
Change-Id: I7d80a889cfecda0deb2916cb0d514dac3d92dc9d
Signed-off-by: linuxxxxx <joey@cyanogenmoditalia.it>
|
|
|
|
|
|
|
|
|
| |
* Update colors
* Vectors
* Off state messages
Change-Id: I0186edda6c408fcde3dd98cd886ced775adbd938
Signed-off-by: linuxx <joey@cyanogenmoditalia.it>
|
|
|
|
|
|
| |
* Created by Jovie Brett Bardoles
Change-Id: I84945542cc60aa7fc0b28c720282a0b38c732604
|
|
|
|
|
|
|
|
| |
Use a new id so that old values aren't changed
Looked into reordering the list but the index is used
in a few places - going to skip on that change for now
Change-Id: Ib70634d28588ce23a37fcc7b760019c07af3412f
|
|
|
|
|
|
|
|
|
|
|
| |
* Remove unused layouts/drawables
* Remove unused strings
* Remove CAF chinese translations
* Improve strings
* Move debug strings/arrays to debug_strings.xml/debug_arrays.xml
* Move transmitter strings to transmit_strings.xml
Change-Id: I5b391b459aefa75a6c3edbc525d471a3bcefb2be
|
|
|
|
| |
Change-Id: I7e44a8835c450697765c41fafdf325c1e2043b49
|
|
|
|
| |
Change-Id: I3f063967c06d43e0fe99d08dea5e3e65a3943e8b
|
|
|
|
| |
Change-Id: Ie426ec3fa4aa3e8f4136938eb35f419ecc0aa71a
|
|
|
|
| |
Change-Id: Ib7cf1e0c5de85440f7d2a7563cc5f7e508b6998f
|
|
|
|
| |
Change-Id: I219e2a51939af7d65c4a0ed8eb87134ca7f986ee
|
|
|
|
| |
Change-Id: I635da34903f9b21c43c167e78aaabf055462800e
|
|
|
|
| |
Change-Id: Ib9cb3d5663f9eec92922a3eea7d605a2bf3b538c
|
|
|
|
|
|
| |
Make FM notifications look like something from this decade. :P
Change-Id: Ib0e310a320c49e92224d8d4fc2fab530ff28d974
|
|
|
|
|
|
|
|
| |
Fix the issue: After pressing back-key or rotating DUT, FM will stop.
Change-Id: If9c3b5001963e837dde699a844a6406acd892126
Signed-off-by: juncao <juncao@codeaurora.org>
CRs-Fixed: 956792
|
|
|
|
|
|
|
|
|
| |
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.
Change-Id: Idf3d768e66bd4bafc7d1ef40aefa15982454889c
|
|
|
|
|
|
|
|
| |
FM is turning ON even without WHS for AVRCP commands.
Added headset check before turning ON FM.
Change-Id: I0c0f1c0976ab19a89232a1de6ec4d999a3226fd1
CRs-Fixed: 918891
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
As the audio framework not supported to set the speaker option,
disabling the device switch option when A2DP is connected.
Change-Id: I0e3d61aefa400b8df3338af81b1417338880a786
CRs-Fixed: 892109
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Setting samplerate, record bitrate, and channel count
for recording.
Change-Id: I067bdae9049f23d165e588d0340f56f39e35f497
|
|\ \ \
| |_|/
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Stop the FM audio and retain the mute status and speaker status.
Change-Id: Iefcde4df34b484da6d48798703d66a1bb42c9b51
CRs-Fixed: 901852
|
|\ \ \
| |/ /
|/| | |
|