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

Commit f4816373 authored by Menghan Li's avatar Menghan Li Committed by Automerger Merge Worker
Browse files

Merge "Fix tapping magnification crash in vision settings setup screen" into...

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

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



Change-Id: Ib412dc1639942389c417ec2516a1f99b52a951f5
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents f74ddd65 b5ee432b
Loading
Loading
Loading
Loading
+9 −3
Original line number Diff line number Diff line
@@ -52,12 +52,18 @@ public class ToggleScreenMagnificationPreferenceFragmentForSetupWizard
     */
    private void hidePreferenceSettingComponents() {
        // Intro
        if (mTopIntroPreference != null) {
            mTopIntroPreference.setVisible(false);
        }
        // Setting of magnification type
        if (mSettingsPreference != null) {
            mSettingsPreference.setVisible(false);
        }
        // Setting of following typing
        if (mFollowingTypingSwitchPreference != null) {
            mFollowingTypingSwitchPreference.setVisible(false);
        }
    }

    @Override
    public RecyclerView onCreateRecyclerView(LayoutInflater inflater, ViewGroup parent,