summaryrefslogtreecommitdiffstats
path: root/src/com/android
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android')
-rw-r--r--src/com/android/settings/profiles/ProfileAirplaneModePreference.java1
-rw-r--r--src/com/android/settings/profiles/ProfileConfig.java2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/com/android/settings/profiles/ProfileAirplaneModePreference.java b/src/com/android/settings/profiles/ProfileAirplaneModePreference.java
index b6bac20..067e43b 100644
--- a/src/com/android/settings/profiles/ProfileAirplaneModePreference.java
+++ b/src/com/android/settings/profiles/ProfileAirplaneModePreference.java
@@ -165,7 +165,6 @@ public class ProfileAirplaneModePreference extends Preference implements
public void setSummary(Context context) {
int value = mAirplaneModeItem.mSettings.getValue();
- mAirplaneModeItem.mSettings.setValue(currentChoice);
setSummary(value == 1 ? getContext().getString(R.string.connection_state_enabled) : getContext().getString(
R.string.connection_state_disabled));
}
diff --git a/src/com/android/settings/profiles/ProfileConfig.java b/src/com/android/settings/profiles/ProfileConfig.java
index f908fd4..2a0981d 100644
--- a/src/com/android/settings/profiles/ProfileConfig.java
+++ b/src/com/android/settings/profiles/ProfileConfig.java
@@ -414,7 +414,6 @@ public class ProfileConfig extends SettingsPreferenceFragment
}
static class RingModeItem {
- String mLabel;
RingModeSettings mSettings;
ProfileRingModePreference mCheckbox;
@@ -424,7 +423,6 @@ public class ProfileConfig extends SettingsPreferenceFragment
}
static class AirplaneModeItem {
- String mLabel;
AirplaneModeSettings mSettings;
ProfileAirplaneModePreference mCheckbox;