diff options
| author | Leo Wang <leozwang@google.com> | 2015-01-15 00:34:31 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-01-15 00:34:31 +0000 |
| commit | 651d5cdf0b09c66492c0d7695cacecf6a8a4a85a (patch) | |
| tree | 1c496c17b6cff04fd3f55bedca2708970f529c3e /src/com | |
| parent | 8e9f383e287134888e2905574009cee9ef57c94f (diff) | |
| parent | 59668c1835c800cfb85b30f4fc81bdf4966400d3 (diff) | |
| download | android_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.java | 5 |
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(); } } |
