diff options
Diffstat (limited to 'src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java')
-rw-r--r-- | src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java b/src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java index 158ed5834..755460114 100644 --- a/src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java +++ b/src/com/android/dialer/voicemail/VoicemailPlaybackLayout.java @@ -240,6 +240,11 @@ public class VoicemailPlaybackLayout extends LinearLayout mStartStopButton.setOnClickListener(mStartStopButtonListener); mPlaybackSpeakerphone.setOnClickListener(mSpeakerphoneListener); mDeleteButton.setOnClickListener(mDeleteButtonListener); + + mPositionText.setText(formatAsMinutesAndSeconds(0)); + mPositionText.setVisibility(View.INVISIBLE); + mTotalDurationText.setText(formatAsMinutesAndSeconds(0)); + mTotalDurationText.setVisibility(View.INVISIBLE); } @Override @@ -355,6 +360,9 @@ public class VoicemailPlaybackLayout extends LinearLayout mStartStopButton.setEnabled(true); mPlaybackSpeakerphone.setEnabled(true); mPlaybackSeek.setEnabled(true); + + mPositionText.setVisibility(View.VISIBLE); + mTotalDurationText.setVisibility(View.VISIBLE); } private String getString(int resId) { |