Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2198be7 authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Merge remote-tracking branch 'origin/lineage-23.0' into a16

parents 411cfad7 c3435bd0
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ public class TetheringHardwareAccelPreferenceController extends DeveloperOptions
    public void updateState(Preference preference) {
        final int tetheringMode = Settings.Global.getInt(
                mContext.getContentResolver(),
                Settings.Global.TETHER_OFFLOAD_DISABLED, 0 /* default */);
                Settings.Global.TETHER_OFFLOAD_DISABLED, SETTING_VALUE_ON);
        ((TwoStatePreference) mPreference).setChecked(tetheringMode != SETTING_VALUE_OFF);
    }

@@ -68,7 +68,7 @@ public class TetheringHardwareAccelPreferenceController extends DeveloperOptions
    protected void onDeveloperOptionsSwitchDisabled() {
        super.onDeveloperOptionsSwitchDisabled();
        Settings.Global.putInt(mContext.getContentResolver(),
                Settings.Global.TETHER_OFFLOAD_DISABLED, SETTING_VALUE_OFF);
                Settings.Global.TETHER_OFFLOAD_DISABLED, SETTING_VALUE_ON);
        ((TwoStatePreference) mPreference).setChecked(false);
    }
}