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

Commit 494f76d1 authored by Peter Liang's avatar Peter Liang
Browse files

Fix when adjusting the display size, the font size flashes.

Action:
By super to access the parent function to save the highlighted state of the preference.

Bug: 250800752
Test: manual test
Change-Id: Idca9a4f31910638c19f26ff01136530d17677055
parent 2c7f06e9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -210,6 +210,8 @@ public class TextReadingPreferenceFragment extends DashboardFragment {

    @Override
    public void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);

        if (mNeedResetSettings) {
            outState.putBoolean(NEED_RESET_SETTINGS, true);
        }