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

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19732075

Change-Id: Ib412dc1639942389c417ec2516a1f99b52a951f5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Menghan Li
2022-08-25 23:49:57 +00:00
committed by Automerger Merge Worker

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