summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorNate Jiang <qiangjiang@google.com>2019-08-20 17:20:34 -0700
committerNate Jiang <qiangjiang@google.com>2019-08-22 18:10:05 -0700
commit12c4b964dfe9412ef62f20afa6b295968d2e5f06 (patch)
tree76c2722816d11b7f883d427a37536e3a726015d7 /service
parenta0107b5554f7ed39478418940c9b1c2315a121cb (diff)
[NetworkSuggestion] change notification content
Change the notification content of first time apply network suggestion Test: acts WifiNetworkSuggestionTest Bug: 139037269 Change-Id: I1e831b5322e12f030388c7ca81a6456ec77009ed
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiNetworkSuggestionsManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/java/com/android/server/wifi/WifiNetworkSuggestionsManager.java b/service/java/com/android/server/wifi/WifiNetworkSuggestionsManager.java
index e1d2a02e4..972d1c93f 100644
--- a/service/java/com/android/server/wifi/WifiNetworkSuggestionsManager.java
+++ b/service/java/com/android/server/wifi/WifiNetworkSuggestionsManager.java
@@ -793,7 +793,8 @@ public class WifiNetworkSuggestionsManager {
.setSmallIcon(R.drawable.stat_notify_wifi_in_range)
.setTicker(mResources.getString(R.string.wifi_suggestion_title))
.setContentTitle(mResources.getString(R.string.wifi_suggestion_title))
- .setContentText(mResources.getString(R.string.wifi_suggestion_content, appName))
+ .setStyle(new Notification.BigTextStyle()
+ .bigText(mResources.getString(R.string.wifi_suggestion_content, appName)))
.setDeleteIntent(getPrivateBroadcast(NOTIFICATION_USER_DISMISSED_INTENT_ACTION,
packageName, uid))
.setShowWhen(false)