diff options
author | Nancy Chen <nancychen@google.com> | 2015-09-18 01:19:54 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-09-18 01:19:54 +0000 |
commit | c42c814ab6349b7e4b28847c4ec4e3e51e7655d0 (patch) | |
tree | d28e920691c5d3889dbaf15d3dc50cd7c65f923d /src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java | |
parent | f9c43ceef39a9174db7f78dc86f43380e1c5eb27 (diff) | |
parent | ba2f4a8ba7891224dbd9139ee798b1b2375f263b (diff) |
Merge "Re-enable "start" button if loading voicemail fails." into ub-contactsdialer-a-dev
Diffstat (limited to 'src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java')
-rw-r--r-- | src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java b/src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java index 698530b69..440d92134 100644 --- a/src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java +++ b/src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java @@ -315,6 +315,7 @@ public class VoicemailPlaybackLayout extends LinearLayout mStateText.setText(getString(R.string.voicemail_playback_error)); } + @Override public void onSpeakerphoneOn(boolean on) { if (on) { mPlaybackSpeakerphone.setImageResource(R.drawable.ic_volume_up_24dp); @@ -352,7 +353,7 @@ public class VoicemailPlaybackLayout extends LinearLayout @Override public void setFetchContentTimeout() { - disableUiElements(); + mStartStopButton.setEnabled(true); mStateText.setText(getString(R.string.voicemail_fetching_timout)); } |