diff options
author | Nancy Chen <nancychen@google.com> | 2015-09-17 18:11:53 -0700 |
---|---|---|
committer | Nancy Chen <nancychen@google.com> | 2015-09-17 18:11:53 -0700 |
commit | ba2f4a8ba7891224dbd9139ee798b1b2375f263b (patch) | |
tree | b4ce897a5888ea6ae8ea9c38a325ac03b00d8e03 /src/com/android | |
parent | 9d6e3b2700f8011645bc3e76b118d4c615b630d6 (diff) |
Re-enable "start" button if loading voicemail fails.
An enabled "start" button is a cue to the user that they can re-attempt
downloading voicemail manually if the first attempt fails.
Bug: 23899613
Change-Id: Ie5baf6cf45c48d0f1988d01dbed3e31919510869
Diffstat (limited to 'src/com/android')
-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)); } |