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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user