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

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

Merge "Remove magnification settings screen from Vision Settings."

parents 9d1b873c c53e60fb
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ package com.android.settings.accessibility;

import android.app.settings.SettingsEnums;
import android.os.Bundle;
import android.view.View;

public class ToggleScreenMagnificationPreferenceFragmentForSetupWizard
        extends ToggleScreenMagnificationPreferenceFragment {
@@ -41,4 +42,12 @@ public class ToggleScreenMagnificationPreferenceFragmentForSetupWizard
        }
        super.onStop();
    }

    @Override
    public void onViewCreated(View view, Bundle savedInstanceState) {
        super.onViewCreated(view, savedInstanceState);

        // Hide the setting from the vision settings.
        mSettingsPreference.setVisible(false);
    }
}