diff options
author | Andrew Lee <anwlee@google.com> | 2015-06-01 14:38:59 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-06-01 14:40:27 -0700 |
commit | b20213ee0e647efbc75d4546b837104b5657dff5 (patch) | |
tree | 25fce1d22cd3b220e6d5eef48e231048a195cf57 /src/com/android/dialer/CallDetailActivity.java | |
parent | b49d8cda7502782408e7a2434584f2d9377ae2cb (diff) |
Continue voicemail playback during rotation.
Don't pause playback or release the media player during onPause or
onDestroy.
Bug: 21235334
Change-Id: I0eccd4e38e89c3416817d80aa25cc3bb529a9d6b
Diffstat (limited to 'src/com/android/dialer/CallDetailActivity.java')
-rw-r--r-- | src/com/android/dialer/CallDetailActivity.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java index 7fa3750d2..ce29049d3 100644 --- a/src/com/android/dialer/CallDetailActivity.java +++ b/src/com/android/dialer/CallDetailActivity.java @@ -272,7 +272,7 @@ public class CallDetailActivity extends Activity { @Override public void onPause() { if (mVoicemailPlaybackPresenter != null) { - mVoicemailPlaybackPresenter.onPause(); + mVoicemailPlaybackPresenter.onPause(isFinishing()); } super.onPause(); } @@ -280,7 +280,7 @@ public class CallDetailActivity extends Activity { @Override public void onDestroy() { if (mVoicemailPlaybackPresenter != null) { - mVoicemailPlaybackPresenter.onDestroy(); + mVoicemailPlaybackPresenter.onDestroy(isFinishing()); } super.onDestroy(); } |