Fix regression in virtual key haptics
- We only want to suppress haptics for virtual keys when using quickstep,
so the default should be to allow vibration for all virtual keys.
Bug: 80531196
Test: On quickstep-enabled device, touch and verify that we only get haptic
on tap and not down
Change-Id: I87000703d0462c3c1d62e829eb36e7a19e7b53d7
This commit is contained in:
@@ -549,7 +549,7 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
||||
volatile boolean mGoingToSleep;
|
||||
volatile boolean mRequestedOrGoingToSleep;
|
||||
volatile boolean mRecentsVisible;
|
||||
volatile boolean mNavBarVirtualKeyHapticFeedbackEnabled;
|
||||
volatile boolean mNavBarVirtualKeyHapticFeedbackEnabled = true;
|
||||
volatile boolean mPictureInPictureVisible;
|
||||
// Written by vr manager thread, only read in this class.
|
||||
volatile private boolean mPersistentVrModeEnabled;
|
||||
|
||||
Reference in New Issue
Block a user