From f670261028846427a13219b2616cd79deed940a6 Mon Sep 17 00:00:00 2001 From: mincheli Date: Thu, 18 Jun 2020 16:37:01 +0800 Subject: [PATCH] Supports triple-tap shortcut for window magnification Window magnification mode shows triple-tap shortcut. Bug: 157861708 Test: make RunSettingsRoboTests Change-Id: I88c7a26e476d3cc5f85fa1b3f267ef3f1453ae38 --- .../ToggleScreenMagnificationPreferenceFragment.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/com/android/settings/accessibility/ToggleScreenMagnificationPreferenceFragment.java b/src/com/android/settings/accessibility/ToggleScreenMagnificationPreferenceFragment.java index 083ad94f198..51a861dc18e 100644 --- a/src/com/android/settings/accessibility/ToggleScreenMagnificationPreferenceFragment.java +++ b/src/com/android/settings/accessibility/ToggleScreenMagnificationPreferenceFragment.java @@ -178,11 +178,6 @@ public class ToggleScreenMagnificationPreferenceFragment extends final View advancedView = dialog.findViewById(R.id.advanced_shortcut); updateAlertDialogCheckState(); - // Window magnification mode doesn't support advancedView. - if (isWindowMagnification(getPrefContext())) { - advancedView.setVisibility(View.GONE); - return; - } // Shows the triple tap checkbox directly if clicked. if (mTripleTapTypeCheckBox.isChecked()) { advancedView.setVisibility(View.GONE);