summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
authorLeo Wang <leozwang@google.com>2015-01-15 00:34:31 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-01-15 00:34:31 +0000
commit651d5cdf0b09c66492c0d7695cacecf6a8a4a85a (patch)
tree1c496c17b6cff04fd3f55bedca2708970f529c3e /src/com
parent8e9f383e287134888e2905574009cee9ef57c94f (diff)
parent59668c1835c800cfb85b30f4fc81bdf4966400d3 (diff)
downloadandroid_packages_apps_FMRadio-651d5cdf0b09c66492c0d7695cacecf6a8a4a85a.tar.gz
android_packages_apps_FMRadio-651d5cdf0b09c66492c0d7695cacecf6a8a4a85a.tar.bz2
android_packages_apps_FMRadio-651d5cdf0b09c66492c0d7695cacecf6a8a4a85a.zip
Merge " [FM] FM icon does not display in the notification bar when FM is playing" into lmp-mr1-dev
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/fmradio/FmRecordActivity.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/fmradio/FmRecordActivity.java b/src/com/android/fmradio/FmRecordActivity.java
index 4df42ec..06e4a8b 100644
--- a/src/com/android/fmradio/FmRecordActivity.java
+++ b/src/com/android/fmradio/FmRecordActivity.java
@@ -251,6 +251,11 @@ public class FmRecordActivity extends Activity implements
// If have stopped recording, need not show notification
if (!isStopRecording()) {
mHandler.sendEmptyMessage(MSG_UPDATE_NOTIFICATION);
+ } else if (isSaveDialogShown()) {
+ // Only when save dialog is shown and FM radio is back to background,
+ // it is necessary to update playing notification.
+ // Otherwise, FmMainActivity will update playing notification.
+ mService.updatePlayingNotification();
}
}