feat(MultiFingerMultiTap): Add two-finger triple-tap shortcut on magnification dialog
The shortcut is separate from single-finger triple-tap. It’s under hardware shortcut and above/outside of Advanced section. Bug: 297805269 Test: manual Test: atest ToggleScreenMagnificationPreferenceFragmentTest Change-Id: Id74cf3e457c04e167f3100d977b6c70c5d601026
This commit is contained in:
@@ -94,6 +94,7 @@ public final class AccessibilityUtil {
|
||||
UserShortcutType.SOFTWARE,
|
||||
UserShortcutType.HARDWARE,
|
||||
UserShortcutType.TRIPLETAP,
|
||||
UserShortcutType.TWOFINGERTRIPLETAP,
|
||||
})
|
||||
|
||||
/** Denotes the user shortcut type. */
|
||||
@@ -102,6 +103,7 @@ public final class AccessibilityUtil {
|
||||
int SOFTWARE = 1; // 1 << 0
|
||||
int HARDWARE = 2; // 1 << 1
|
||||
int TRIPLETAP = 4; // 1 << 2
|
||||
int TWOFINGERTRIPLETAP = 8; // 1 << 3
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user