diff options
author | Nate Jiang <qiangjiang@google.com> | 2019-08-23 04:22:26 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-08-23 04:22:26 +0000 |
commit | 07ba9343d2142ee08bffa4febb1e7813d10d7774 (patch) | |
tree | 3515d17575fff3b844716fcb875d8372767b3f80 /service | |
parent | 3e744d5fa142d8e868aa16bc9d01a5813a7e694c (diff) | |
parent | 12c4b964dfe9412ef62f20afa6b295968d2e5f06 (diff) |
Merge "[NetworkSuggestion] change notification content" into qt-qpr1-dev
Diffstat (limited to 'service')
-rw-r--r-- | service/java/com/android/server/wifi/WifiNetworkSuggestionsManager.java | 3 |
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) |