Merge "Separate Tether summary "Off" to dedicated string ID"
This commit is contained in:
committed by
Android (Google) Code Review
commit
ce71a7bba1
@@ -217,7 +217,7 @@ public class TetherPreferenceController extends AbstractPreferenceController imp
|
||||
}
|
||||
if (!hotSpotOn && !tetherOn) {
|
||||
// Both off
|
||||
mPreference.setSummary(R.string.off);
|
||||
updateSummaryToOff();
|
||||
} else if (hotSpotOn && tetherOn) {
|
||||
// Both on
|
||||
mPreference.setSummary(R.string.tether_settings_summary_hotspot_on_tether_on);
|
||||
@@ -233,7 +233,7 @@ public class TetherPreferenceController extends AbstractPreferenceController imp
|
||||
// Preference is not ready yet.
|
||||
return;
|
||||
}
|
||||
mPreference.setSummary(R.string.off);
|
||||
mPreference.setSummary(R.string.tether_preference_summary_off);
|
||||
}
|
||||
|
||||
class SettingObserver extends ContentObserver {
|
||||
|
||||
Reference in New Issue
Block a user