Update Wifi off summary text.
Changed the test from "disabled" to off when wifi is turned off. Fix: 36296257 Test: make RunSettingsRoboTests Change-Id: Iae421c15b812fa7a5c3ec841e9d2c28d21063884
This commit is contained in:
@@ -75,7 +75,7 @@ public final class WifiSummaryUpdater extends SummaryUpdater {
|
||||
@Override
|
||||
public String getSummary() {
|
||||
if (!mWifiTracker.enabled) {
|
||||
return mContext.getString(R.string.wifi_disabled_generic);
|
||||
return mContext.getString(R.string.switch_off_text);
|
||||
}
|
||||
if (!mWifiTracker.connected) {
|
||||
return mContext.getString(R.string.disconnected);
|
||||
|
Reference in New Issue
Block a user