diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-03-02 19:41:15 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-03-02 19:41:15 +0000 |
commit | ed022b519350fad09509252d52cce71b18ff4c0c (patch) | |
tree | bd427f66d2ac855b1c3bbb24187056c8e979ac5c /java/com/android/dialer/voicemail/settings/VoicemailSettingsFragment.java | |
parent | 66098afb4203897a07f05e402e06c006a5ae4604 (diff) | |
parent | b7bea42278dc257819a67b6673bb2ae849bc15c8 (diff) |
Merge "Remove voicemail instruction text"
Diffstat (limited to 'java/com/android/dialer/voicemail/settings/VoicemailSettingsFragment.java')
-rw-r--r-- | java/com/android/dialer/voicemail/settings/VoicemailSettingsFragment.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/java/com/android/dialer/voicemail/settings/VoicemailSettingsFragment.java b/java/com/android/dialer/voicemail/settings/VoicemailSettingsFragment.java index 7f5bb796a..5ae26f5f7 100644 --- a/java/com/android/dialer/voicemail/settings/VoicemailSettingsFragment.java +++ b/java/com/android/dialer/voicemail/settings/VoicemailSettingsFragment.java @@ -32,14 +32,12 @@ import android.telecom.PhoneAccountHandle; import android.telecom.TelecomManager; import android.telephony.SubscriptionInfo; import android.telephony.TelephonyManager; -import android.text.Html; import com.android.dialer.common.Assert; import com.android.dialer.common.LogUtil; import com.android.dialer.logging.DialerImpression; import com.android.dialer.logging.Logger; import com.android.dialer.notification.NotificationChannelManager; import com.android.dialer.telecom.TelecomUtil; -import com.android.dialer.widget.TextViewPreference; import com.android.voicemail.VoicemailClient; import com.android.voicemail.VoicemailClient.ActivationStateListener; import com.android.voicemail.VoicemailComponent; @@ -75,7 +73,6 @@ public class VoicemailSettingsFragment extends PreferenceFragment private SwitchPreference donateVoicemailSwitchPreference; private Preference voicemailChangePinPreference; private PreferenceScreen advancedSettings; - private TextViewPreference voicemailTranscriptionInstructionText; @Override public void onCreate(Bundle icicle) { @@ -212,10 +209,6 @@ public class VoicemailSettingsFragment extends PreferenceFragment return false; } }); - - voicemailTranscriptionInstructionText = - (TextViewPreference) findPreference(getString(R.string.voicemail_transcription_text_key)); - voicemailTranscriptionInstructionText.setTitle(getVoicemailTranscriptionInstructionsText()); } @Override @@ -355,20 +348,4 @@ public class VoicemailSettingsFragment extends PreferenceFragment builder.setCancelable(true); builder.show(); } - - /** - * Builds a spannable string containing the voicemail transcription instructions text containing - * the appropriate "Learn More" urls. - * - * @return The voicemail transcription instructions text. - */ - private CharSequence getVoicemailTranscriptionInstructionsText() { - String settingText = - getString( - R.string.voicemail_transcription_instruction_text, - getString(R.string.transcription_learn_more_url), - getString(R.string.donation_learn_more_url)); - CharSequence settingSeq = Html.fromHtml(settingText); - return settingSeq; - } } |