diff options
author | Andrew Lee <anwlee@google.com> | 2015-05-18 11:27:54 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-05-18 11:30:26 -0700 |
commit | c1167e9a05c0578d483d7cd87302a8746e714df0 (patch) | |
tree | fe4c6fa83a55607c118bf50d6296cbfbacc83cb4 /src/com/android/dialer/CallDetailActivity.java | |
parent | 6cb5bfb225d53a00d61aecae9a8e3b0a898e8b0e (diff) |
Remove voicemail transcript from details.
It will continue to be shown in the call log, but will be removed
from details since the widget will be moved.
Bug: 21170557
Change-Id: I1ec3b090adc0736f7b134d0f67282ba7b4f9483b
Diffstat (limited to 'src/com/android/dialer/CallDetailActivity.java')
-rw-r--r-- | src/com/android/dialer/CallDetailActivity.java | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java index 401c2ae80..2401c4767 100644 --- a/src/com/android/dialer/CallDetailActivity.java +++ b/src/com/android/dialer/CallDetailActivity.java @@ -121,8 +121,7 @@ public class CallDetailActivity extends Activity { /* package */ Resources mResources; /** Helper to load contact photos. */ private ContactPhotoManager mContactPhotoManager; - // Views related to voicemail status message. - private TextView mVoicemailTranscription; + private LinearLayout mVoicemailHeader; private Uri mVoicemailUri; @@ -216,8 +215,6 @@ public class CallDetailActivity extends Activity { mVoicemailHeader = (LinearLayout) inflater.inflate(R.layout.call_details_voicemail_header, null); View voicemailContainer = mVoicemailHeader.findViewById(R.id.voicemail_container); - mVoicemailTranscription = ( - TextView) mVoicemailHeader.findViewById(R.id.voicemail_transcription); ListView historyList = (ListView) findViewById(R.id.history); historyList.addHeaderView(mVoicemailHeader); // Has voicemail: add the voicemail fragment. Add suitable arguments to set the uri @@ -408,11 +405,6 @@ public class CallDetailActivity extends Activity { nameForDefaultImage = firstDetails.name.toString(); } - if (hasVoicemail() && !TextUtils.isEmpty(firstDetails.transcription)) { - mVoicemailTranscription.setText(firstDetails.transcription); - mVoicemailTranscription.setVisibility(View.VISIBLE); - } - loadContactPhotos( contactUri, photoUri, nameForDefaultImage, lookupKey, contactType); findViewById(R.id.call_detail).setVisibility(View.VISIBLE); |