Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d813cd6e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "wifi: Update softap config notification changed wording"

parents d4c62b02 c7cfb00c
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -23,15 +23,10 @@
    <!-- A notification is shown when the user's softap config has been changed due to underlying
     hardware restrictions. This is the notifications's title.
     [CHAR_LIMIT=NONE] -->
    <string name="wifi_softap_config_change">Changes to your hotspot settings</string>
    <string name="wifi_softap_config_change">Hotspot settings have changed</string>

    <!-- A notification is shown when the user's softap config has been changed due to underlying
         hardware restrictions. This is the notification's summary message.
         [CHAR_LIMIT=NONE] -->
    <string name="wifi_softap_config_change_summary">Your hotspot band has changed.</string>

    <!-- A notification is shown when the user's softap config has been changed due to underlying
         hardware restrictions. This is the notification's full message.
         [CHAR_LIMIT=NONE] -->
    <string name="wifi_softap_config_change_detailed">This device doesn\u2019t support your preference for 5GHz only. Instead, this device will use the 5GHz band when available.</string>
    <string name="wifi_softap_config_change_summary">Tap to see details</string>
</resources>
+0 −2
Original line number Diff line number Diff line
@@ -57,7 +57,6 @@ public class WifiSoftApConfigChangedNotifier {
        Resources resources = context.getResources();
        CharSequence title = resources.getText(R.string.wifi_softap_config_change);
        CharSequence contentSummary = resources.getText(R.string.wifi_softap_config_change_summary);
        CharSequence content = resources.getText(R.string.wifi_softap_config_change_detailed);
        int color = resources.getColor(
                android.R.color.system_notification_accent_color, context.getTheme());

@@ -73,7 +72,6 @@ public class WifiSoftApConfigChangedNotifier {
                .setLocalOnly(true)
                .setColor(color)
                .setStyle(new Notification.BigTextStyle()
                        .bigText(content)
                        .setBigContentTitle(title)
                        .setSummaryText(contentSummary))
                .setAutoCancel(true)