Merge "Supports triple-tap shortcut for window magnification" am: 08e2fec40d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/11908538 Change-Id: I1519c6df733daf0ba3abc4027d375ded3b28b5b4
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user