summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRohit Yengisetty <rohit@cyngn.com>2016-05-16 15:58:35 -0700
committerRohit Yengisetty <rohit@cyngn.com>2016-05-16 16:09:15 -0700
commit7f62e060567c89d76d624381ff98985792c6e8f2 (patch)
tree0a13cfe80b3bd71ff2a5ac18dc5eef00be75c455 /src
parent9fb1a7b0e02751d0b08be888ef9f9f42d10e9de7 (diff)
downloadandroid_packages_apps_Dialer-7f62e060567c89d76d624381ff98985792c6e8f2.tar.gz
android_packages_apps_Dialer-7f62e060567c89d76d624381ff98985792c6e8f2.tar.bz2
android_packages_apps_Dialer-7f62e060567c89d76d624381ff98985792c6e8f2.zip
Fix 'Learn More' link within the picker for caller-info provider
Avoid constructing the Spanned object on the client-side as it isn't Parcelable. Send the html-encoded text as the subtext instead, which will be spanned within Discovery service wherein the dialog originates. Issue-Id: OPO-705 Change-Id: Icce7583364474ff75c747d38cdc5d1b2000ceac1
Diffstat (limited to 'src')
-rw-r--r--src/com/android/dialer/callerinfo/CallerInfoProviderPicker.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/dialer/callerinfo/CallerInfoProviderPicker.java b/src/com/android/dialer/callerinfo/CallerInfoProviderPicker.java
index d3c9e4f4f..eb0a0dccc 100644
--- a/src/com/android/dialer/callerinfo/CallerInfoProviderPicker.java
+++ b/src/com/android/dialer/callerinfo/CallerInfoProviderPicker.java
@@ -141,7 +141,7 @@ public class CallerInfoProviderPicker {
text += String.format(learnMore, info.getPrivacyPolicyUrl(),
res.getString(R.string.callerinfo_provider_auth_learn_more));
}
- subText = Html.fromHtml(text);
+ subText = text;
}
int logoWidth = context.getResources().getDimensionPixelSize(