Update preference text for Network & internet screen.
- Add footer info to Hotspot & tethering - Add summary text for Data usage -> Network restrictions - Update summary for Hotspot & tethering -> Portable Wi-Fi hotspot - Remove quotes from Wi-Fi summary Bug: 36296257 Test: make RunSettingsRoboTests Change-Id: Ibab61b089521a3339e660e9df0db0cd1b316712b
This commit is contained in:
@@ -26,6 +26,8 @@ import com.android.settings.R;
|
||||
import com.android.settings.widget.SummaryUpdater;
|
||||
import com.android.settingslib.wifi.WifiStatusTracker;
|
||||
|
||||
import static android.net.wifi.WifiInfo.removeDoubleQuotes;
|
||||
|
||||
/**
|
||||
* Helper class that listeners to wifi callback and notify client when there is update in
|
||||
* wifi summary info.
|
||||
@@ -78,7 +80,7 @@ public final class WifiSummaryUpdater extends SummaryUpdater {
|
||||
if (!mWifiTracker.connected) {
|
||||
return mContext.getString(R.string.disconnected);
|
||||
}
|
||||
return mWifiTracker.ssid;
|
||||
return removeDoubleQuotes(mWifiTracker.ssid);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user