Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0502289 authored by Winson Chung's avatar Winson Chung
Browse files

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
parent f04b6c8d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;