Supports triple-tap shortcut for window magnification
Window magnification mode shows triple-tap shortcut. Bug: 157861708 Test: make RunSettingsRoboTests Change-Id: I88c7a26e476d3cc5f85fa1b3f267ef3f1453ae38
This commit is contained in:
@@ -178,11 +178,6 @@ public class ToggleScreenMagnificationPreferenceFragment extends
|
|||||||
final View advancedView = dialog.findViewById(R.id.advanced_shortcut);
|
final View advancedView = dialog.findViewById(R.id.advanced_shortcut);
|
||||||
updateAlertDialogCheckState();
|
updateAlertDialogCheckState();
|
||||||
|
|
||||||
// Window magnification mode doesn't support advancedView.
|
|
||||||
if (isWindowMagnification(getPrefContext())) {
|
|
||||||
advancedView.setVisibility(View.GONE);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
// Shows the triple tap checkbox directly if clicked.
|
// Shows the triple tap checkbox directly if clicked.
|
||||||
if (mTripleTapTypeCheckBox.isChecked()) {
|
if (mTripleTapTypeCheckBox.isChecked()) {
|
||||||
advancedView.setVisibility(View.GONE);
|
advancedView.setVisibility(View.GONE);
|
||||||
|
Reference in New Issue
Block a user