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

Commit b5ee432b 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" into tm-qpr-dev

parents 12874664 66a96d22
Loading
Loading
Loading
Loading
+9 −3
Original line number Original line Diff line number Diff line
@@ -52,12 +52,18 @@ public class ToggleScreenMagnificationPreferenceFragmentForSetupWizard
     */
     */
    private void hidePreferenceSettingComponents() {
    private void hidePreferenceSettingComponents() {
        // Intro
        // Intro
        if (mTopIntroPreference != null) {
            mTopIntroPreference.setVisible(false);
            mTopIntroPreference.setVisible(false);
        }
        // Setting of magnification type
        // Setting of magnification type
        if (mSettingsPreference != null) {
            mSettingsPreference.setVisible(false);
            mSettingsPreference.setVisible(false);
        }
        // Setting of following typing
        // Setting of following typing
        if (mFollowingTypingSwitchPreference != null) {
            mFollowingTypingSwitchPreference.setVisible(false);
            mFollowingTypingSwitchPreference.setVisible(false);
        }
        }
    }


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