diff options
author | android-build-prod (mdb) <android-build-team-robot@google.com> | 2018-05-04 19:26:05 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-05-04 19:26:05 +0000 |
commit | dd18cb13307866ec723992b327d1f6061b326313 (patch) | |
tree | 0e03ba70644d76c2b6a56cd97f766cda82f30029 /java/com/android/dialer/spam/promo/SpamBlockingPromoHelper.java | |
parent | 350aa270f3e2b1ff8c61c2cf9644642a16bd9314 (diff) | |
parent | a2fefe570aa96b4425de589e9e38a150c0182228 (diff) |
Merge "Set description of spam blocking promo notification to big text so it won't get cut off."
Diffstat (limited to 'java/com/android/dialer/spam/promo/SpamBlockingPromoHelper.java')
-rw-r--r-- | java/com/android/dialer/spam/promo/SpamBlockingPromoHelper.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/java/com/android/dialer/spam/promo/SpamBlockingPromoHelper.java b/java/com/android/dialer/spam/promo/SpamBlockingPromoHelper.java index 6a8cde864..a117e1908 100644 --- a/java/com/android/dialer/spam/promo/SpamBlockingPromoHelper.java +++ b/java/com/android/dialer/spam/promo/SpamBlockingPromoHelper.java @@ -168,7 +168,9 @@ public class SpamBlockingPromoHelper { .setPriority(Notification.PRIORITY_DEFAULT) .setColor(context.getColor(R.color.dialer_theme_color)) .setSmallIcon(R.drawable.quantum_ic_call_vd_theme_24) - .setContentText(context.getString(R.string.spam_blocking_promo_text)) + .setStyle( + new Notification.BigTextStyle() + .bigText(context.getString(R.string.spam_blocking_promo_text))) .addAction( new Notification.Action.Builder( R.drawable.quantum_ic_block_vd_theme_24, |