Merge "Fix tapping magnification crash in vision settings setup screen" into tm-qpr-dev

This commit is contained in:
Menghan Li
2022-08-25 23:37:50 +00:00
committed by Android (Google) Code Review

View File

@@ -52,11 +52,17 @@ public class ToggleScreenMagnificationPreferenceFragmentForSetupWizard
*/
private void hidePreferenceSettingComponents() {
// Intro
mTopIntroPreference.setVisible(false);
if (mTopIntroPreference != null) {
mTopIntroPreference.setVisible(false);
}
// Setting of magnification type
mSettingsPreference.setVisible(false);
if (mSettingsPreference != null) {
mSettingsPreference.setVisible(false);
}
// Setting of following typing
mFollowingTypingSwitchPreference.setVisible(false);
if (mFollowingTypingSwitchPreference != null) {
mFollowingTypingSwitchPreference.setVisible(false);
}
}
@Override