Add summary for hostspot when airplane is on.
Change-Id: I5470dab7050b73ed474abd5b948e873699819751 Fixes: 72716285 Test: RunSettingsRoboTests
This commit is contained in:
@@ -202,7 +202,7 @@ public class WifiTetherPreferenceController extends AbstractPreferenceController
|
||||
boolean isAirplaneMode = Settings.Global.getInt(mContext.getContentResolver(),
|
||||
Settings.Global.AIRPLANE_MODE_ON, 0) != 0;
|
||||
if (isAirplaneMode) {
|
||||
mPreference.setSummary(R.string.summary_placeholder);
|
||||
mPreference.setSummary(R.string.wifi_tether_disabled_by_airplane);
|
||||
}
|
||||
}
|
||||
//
|
||||
|
Reference in New Issue
Block a user