History log of /packages/apps/FMRadio/src/com/android/fmradio/FmMainActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
62d4ffe194ba837ea727e7dbe8ccf489ed8cb5c1 04-Feb-2015 Benson Huang <benson.huang@mediatek.com> [FM] Saved recording option is disabled when FM radio is paused

Launch FM radio app with headset connected -> Play any channel
-> Tap on pause button -> Observe saved recordings option in options menu,
saved recording option is disabled.

Bug 19203981
from: https://partner-android-review.googlesource.com/#/c/200585/

Change-Id: Ia0ce4fe0efbdf3e4d64ffb6b573d27f068c8d260
Signed-off-by: Benson Huang <benson.huang@mediatek.com>
/packages/apps/FMRadio/src/com/android/fmradio/FmMainActivity.java
c393989f05c81d53cd3773af7ba14a7c56dd2b25 05-Jan-2015 Benson Huang <benson.huang@mediatek.com> [FM] The channel name will not disappear on the main screen after deleting a channel from the Favorites

Enter FM radio -> Tap star icon to add the channel in
the Favorites -> Rename the channel -> Tap star icon
to delete a channel from the Favorites -> Check the name
on the main screen, the channel name will not disappear.

The CL is to fix the issue that gjalan reproduced.

Bug 18847141

Review: https://partner-android-review.git.corp.google.com/#/c/192521

Signed-off-by: Benson Huang <benson.huang@mediatek.com>

Change-Id: Ib5339c1e956981bdbcff74767b5c422d2e4fcf8b
/packages/apps/FMRadio/src/com/android/fmradio/FmMainActivity.java
fc770ea37d2ddc3b1dfe8e39b267fc82019311f0 23-Dec-2014 Benson Huang <benson.huang@mediatek.com> [FM] FM will not change to FM main view after re-plugging in the earphone

Launch FM and play -> Plug out headphone quickly ->
Plug in headphone quickly -> Repeat step 2~3 several
times -> Check the FM screen, FM will not change to FM
main view after re-plugging in the earphone.

The fix is to let FM change to main activity after re-plugging
in the earphone.

Bug 18836352
from: https://partner-android-review.googlesource.com/#/c/192346/

Change-Id: Ib924356e83f794560b91e47b5b35f2087eb876d7
Signed-off-by: Benson Huang <benson.huang@mediatek.com>
/packages/apps/FMRadio/src/com/android/fmradio/FmMainActivity.java
0dedb6b1c809ebad637021782b3bdd1abc9970be 31-Dec-2014 Nicholas Sauer <nicksauer@google.com> Merge "[FM] "Speaker on/headset" should not be available while BT earphone is connected" into lmp-mr1-dev
13d8588359fa1d89b8a0437c18aa0bd099513458 31-Dec-2014 Nicholas Sauer <nicksauer@google.com> Merge "[FM] PS will disappear after refreshing stations if the station is not added to Favorites" into lmp-mr1-dev
b1bbbc13805bce582c9beb615ed9a46250b96e76 31-Dec-2014 Nicholas Sauer <nicksauer@google.com> Merge "[FM] The channel name will not disappear on the main screen after deleting a channel from the Favorites" into lmp-mr1-dev
2816b93f7207ca62e83dda35716e8ce267e84197 24-Dec-2014 Benson Huang <benson.huang@mediatek.com> [FM] "Speaker on/headset" should not be available while BT earphone is connected

Launch FM Radio and play -> Turn on BT and connect with
BT earphone -> Enter FM again and check "Speaker on/headset"
, "Speaker on/headset" will be available.

The fix is to also check BT headset is connected or not when
enabling menu item.

Bug 18795153

from: https://partner-android-review.googlesource.com/#/c/192377/2

Change-Id: Ia6d78b85563389f193860820447273a27e76d050
Signed-off-by: Benson Huang <benson.huang@mediatek.com>
/packages/apps/FMRadio/src/com/android/fmradio/FmMainActivity.java
c520ec8077fa89fa4eff9f4cb40cd5bca3e234d4 24-Dec-2014 Benson Huang <benson.huang@mediatek.com> [FM] PS will disappear after refreshing stations if the station is not added to Favorites

Launch FM and play a station with PS(the station is not
added to Favorites) -> Refresh channels -> After searching
out the channels and tap Back key -> Check the PS information,
PS information will disappear.

The fix is to set correct station name.

from: https://partner-android-review.googlesource.com/#/c/192378/

Bug 18842996

Change-Id: Ib691d3d1472fe032f528987173d3b186ee17bf06
Signed-off-by: Benson Huang <benson.huang@mediatek.com>
/packages/apps/FMRadio/src/com/android/fmradio/FmMainActivity.java
135af1d44a6ad4175cd72be7d7545c569b6cf81b 25-Dec-2014 Benson Huang <benson.huang@mediatek.com> [FM] The channel name will not disappear on the main screen after deleting a channel from the Favorites

Enter FM radio -> Tap star icon to add the channel in
the Favorites -> Rename the channel -> Tap star icon
to delete a channel from the Favorites -> Check the name
on the main screen, the channel name will not disappear.

The CL is to fix this issue.

Bug 18847141

from: https://partner-android-review.googlesource.com/#/c/192388/1

Change-Id: Ia8331caa460f3bf0036c3470705e37d8aaf14e5a
Signed-off-by: Benson Huang <benson.huang@mediatek.com>
/packages/apps/FMRadio/src/com/android/fmradio/FmMainActivity.java
e2bd0200a5a30b30aa3d15222494d8e63ab8f92e 29-Dec-2014 Benson Huang <benson.huang@mediatek.com> [FM] FM icon will disappear after unmounting SD card

Select "Start Recording" in options menu -> Press "Home"
key -> Enter Settings/Storage/Unmount SD card/OK ->Check
the notification bar after unmounting SD card, FM icon will
disappear after unmounting SD card.

The fix is to add the handling of message
FmListener.LISTEN_RECORDSTATE_CHANGED.

Bug 18861474

From: https://partner-android-review.googlesource.com/#/c/192419/1

Change-Id: I39abee765f6eab77865fb1fdb145fb1fb7eb23fe
Signed-off-by: Benson Huang <benson.huang@mediatek.com>
/packages/apps/FMRadio/src/com/android/fmradio/FmMainActivity.java
6982b3ad17a87e88a8c927a3761208e6389df50d 17-Dec-2014 Benson Huang <benson.huang@mediatek.com> [FM] FM radio "Plug in headphones" view will flash twice after plugging out headphones while searching

First time launch FM and play a station -> Tap Radio
Station button -> Plug out headphone while searching
station -> Check the display, "Plug in headphones" view
will flash twice.

When plugging out earphone in Radio Station screen, it's
no need to start animation to show no earphone view. Just
show no earphone view.

Bug 18780139

Review: https://partner-android-review.git.corp.google.com/#/c/189538

Signed-off-by: Benson Huang <benson.huang@mediatek.com>

Change-Id: I4cad7ca328f40057a14823db04d53868fe3867f3
/packages/apps/FMRadio/src/com/android/fmradio/FmMainActivity.java
6e47fefd026fe63b8d23dea69034e7f5e4c18f5c 11-Dec-2014 Benson Huang <benson.huang@mediatek.com> [FM] Fix typo of anntenna to antenna

There are many typos of antenna (e.g. ANNTENNA, anntenna).

The CL is to fix the typos.

Bug: 18737759

Review: https://partner-android-review.git.corp.google.com/#/c/188580

Signed-off-by: Benson Huang <benson.huang@mediatek.com>

Change-Id: Ic8454a4b9678d60a734a59af65d6bbefbca1411a
/packages/apps/FMRadio/src/com/android/fmradio/FmMainActivity.java
eb6ec9387d7fc2d0eb7b256e55a30fbbb9a6527a 11-Dec-2014 Benson Huang <benson.huang@mediatek.com> [FM] FM Radio tunes to 100.0 the first time you Stop/Play

Goto All Apps and long-press on FMRadio and slide it to
"App Info" -> Click on "CLEAR DATA" -> Start FM Radio app.
Do not change the station, leave it on whatever the app first
comes up with -> Hit stop button -> Hit Play button, FM radio
tunes to 100.0.

The fix is to update mCurrentStation when FM power up is finished.

Bug 18692583

https://partner-android-review.googlesource.com/#/c/188575/

Change-Id: Ifd9d2e9d6aec61573d001e64d1cf255159ed4970
Signed-off-by: Benson Huang <benson.huang@mediatek.com>
/packages/apps/FMRadio/src/com/android/fmradio/FmMainActivity.java
a8b6afca0e187c008ba8fdeb670d5f2c13116bed 20-Nov-2014 Benson Huang <benson.huang@mediatek.com> [FM] Move FM Radio sources - Part 4

Move FM Radio sources
From: vendor/mediatek/proprietary/packages/apps/FmRadio/
To: packages/apps/FMRadio

Bug 18057506

https://partner-android-review.googlesource.com/#/c/187247/

Change-Id: Ia6b8b2dfac58a55cffa8d5223ca2ca5a8ca1f9b1
Signed-off-by: Benson Huang <benson.huang@mediatek.com>
/packages/apps/FMRadio/src/com/android/fmradio/FmMainActivity.java