diff options
author | uabdullah <uabdullah@google.com> | 2018-03-21 15:58:49 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-26 22:13:54 -0700 |
commit | 2213f8e4a91bf5bd39e8f55554f7020f0e6b5792 (patch) | |
tree | c437e8ba86ad5f73f3d7e4427a70f1b14cb7d334 /java/com/android/dialer/voicemail/settings/res/xml | |
parent | 0dcbfd3d1ccdde2ba1e3a582c9aac97aa242f972 (diff) |
Add learn more info to VM Transcription setting
Updates the transcription setting from using a switch preference to a SwitchPreferenceWithClickableSummary. This allows the voicemail transcription setting preferences summary to be clicked and opened to the specified learn more url.
Bug: 74033229
Test: Unit Tests
PiperOrigin-RevId: 189983125
Change-Id: I1b162f3e2e582243fe8f84633e9401155170194c
Diffstat (limited to 'java/com/android/dialer/voicemail/settings/res/xml')
-rw-r--r-- | java/com/android/dialer/voicemail/settings/res/xml/voicemail_settings.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/com/android/dialer/voicemail/settings/res/xml/voicemail_settings.xml b/java/com/android/dialer/voicemail/settings/res/xml/voicemail_settings.xml index e5af813b6..fc839ee3e 100644 --- a/java/com/android/dialer/voicemail/settings/res/xml/voicemail_settings.xml +++ b/java/com/android/dialer/voicemail/settings/res/xml/voicemail_settings.xml @@ -31,10 +31,11 @@ android:key="@string/voicemail_visual_voicemail_archive_key" android:title="@string/voicemail_visual_voicemail_auto_archive_switch_title"/>" - <SwitchPreference + <com.android.dialer.common.preference.SwitchPreferenceWithClickableSummary android:dependency="@string/voicemail_visual_voicemail_key" android:key="@string/voicemail_visual_voicemail_transcription_key" - android:title="@string/voicemail_visual_voicemail_transcription_switch_title"/>" + android:title="@string/voicemail_visual_voicemail_transcription_switch_title" + app:urlToOpen="@string/transcription_learn_more_url"/> <com.android.dialer.common.preference.SwitchPreferenceWithClickableSummary android:dependency="@string/voicemail_visual_voicemail_transcription_key" |