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

Commit dc37f44a authored by Menghan Li's avatar Menghan Li Committed by Android (Google) Code Review
Browse files

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

parents 3b0cbefa 5a87f6bb
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,