Update 5G slicing notification text

Test: manual test
Bug: 266823948
Change-Id: I40c5fda6363ee00742e08c60276760163c972002
This commit is contained in:
Sarah Chin
2023-02-05 14:55:14 -08:00
parent ee70a183cb
commit 732b6ad237
2 changed files with 3 additions and 3 deletions

View File

@@ -17,9 +17,9 @@
<!-- Telephony notification channel name for performance boost notifications. -->
<string name="performance_boost_notification_channel">Performance boost</string>
<!-- Notification title text for the performance boost notification. -->
<string name="performance_boost_notification_title">Improve your 5G experience</string>
<string name="performance_boost_notification_title">Improve your app experience</string>
<!-- Notification detail text for the performance boost notification. -->
<string name="performance_boost_notification_detail">%1$s recommends buying a performance boost plan. Tap to buy through %2$s.</string>
<string name="performance_boost_notification_detail">Tap to visit %s\'s website and learn more.</string>
<!-- Notification button text to cancel the performance boost notification. -->
<string name="performance_boost_notification_button_not_now">Not now</string>
<!-- Notification button text to manage the performance boost notification. -->

View File

@@ -317,7 +317,7 @@ public class SlicePurchaseBroadcastReceiver extends BroadcastReceiver{
.setContentTitle(res.getString(
R.string.performance_boost_notification_title))
.setContentText(String.format(res.getString(
R.string.performance_boost_notification_detail), carrier, carrier))
R.string.performance_boost_notification_detail), carrier))
.setSmallIcon(R.drawable.ic_performance_boost)
.setContentIntent(createContentIntent(context, intent, 1))
.setDeleteIntent(intent.getParcelableExtra(