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:
@@ -28,7 +28,6 @@ import android.support.v14.preference.SwitchPreference;
|
||||
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.datausage.DataSaverBackend;
|
||||
import com.android.settingslib.TetherUtil;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
@@ -140,6 +139,8 @@ public class WifiApEnabler {
|
||||
updateConfigSummary(wifiConfig);
|
||||
} else if (wifiErrored) {
|
||||
mSwitch.setSummary(R.string.wifi_error);
|
||||
} else {
|
||||
mSwitch.setSummary(R.string.wifi_hotspot_off_subtext);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user