Remove the entrance of magnification settings

The feature will not be landed in R. So remove the settings UI.

Bug: 146473544
Test: make RunSettingsRoboTests
Change-Id: I602d175d616c4ba1bb9f003a1dc349f58268898f
This commit is contained in:
mincheli
2020-02-04 16:46:58 +08:00
committed by Menghan Li
parent 35afeb8c4e
commit 02ee1e1715

View File

@@ -188,12 +188,6 @@ public class ToggleScreenMagnificationPreferenceFragment extends
initShortcutPreference(); initShortcutPreference();
mSettingsPreference = new Preference(getPrefContext());
mSettingsPreference.setTitle(R.string.accessibility_magnification_service_settings_title);
mSettingsPreference.setKey(SETTINGS_KEY);
mSettingsPreference.setFragment(MagnificationSettingsFragment.class.getName());
mSettingsPreference.setPersistent(false);
super.onViewCreated(view, savedInstanceState); super.onViewCreated(view, savedInstanceState);
mConfigWarningPreference = new Preference(getPrefContext()); mConfigWarningPreference = new Preference(getPrefContext());