summaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorEcco Park <eccopark@google.com>2018-07-31 20:05:36 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-07-31 20:05:36 +0000
commit7c59a7076b30bc0e72ed83f6fe8e5ada9eb7df0d (patch)
tree5644050b8eca10fa5f49e6b21ca0d494495647ba /service
parent77021f9c7b1f80ccf288ca60fbf8296a36d25039 (diff)
parent4446fd4dc77a44ee3ede75c2b109209110ab5a15 (diff)
Merge "Enable new version of mockito (mockito-target-extend)"
Diffstat (limited to 'service')
-rw-r--r--service/java/com/android/server/wifi/WifiApConfigStore.java14
1 files changed, 9 insertions, 5 deletions
diff --git a/service/java/com/android/server/wifi/WifiApConfigStore.java b/service/java/com/android/server/wifi/WifiApConfigStore.java
index 117202fb3..6981618b8 100644
--- a/service/java/com/android/server/wifi/WifiApConfigStore.java
+++ b/service/java/com/android/server/wifi/WifiApConfigStore.java
@@ -202,11 +202,15 @@ public class WifiApConfigStore {
}
private Notification createConversionNotification() {
- CharSequence title = mContext.getText(R.string.wifi_softap_config_change);
- CharSequence contentSummary = mContext.getText(R.string.wifi_softap_config_change_summary);
- CharSequence content = mContext.getText(R.string.wifi_softap_config_change_detailed);
- int color = mContext.getResources()
- .getColor(R.color.system_notification_accent_color, mContext.getTheme());
+ CharSequence title =
+ mContext.getResources().getText(R.string.wifi_softap_config_change);
+ CharSequence contentSummary =
+ mContext.getResources().getText(R.string.wifi_softap_config_change_summary);
+ CharSequence content =
+ mContext.getResources().getText(R.string.wifi_softap_config_change_detailed);
+ int color =
+ mContext.getResources().getColor(
+ R.color.system_notification_accent_color, mContext.getTheme());
return new Notification.Builder(mContext, SystemNotificationChannels.NETWORK_STATUS)
.setSmallIcon(R.drawable.ic_wifi_settings)