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

Commit de45e4b6 authored by Michael Bestas's avatar Michael Bestas Committed by Gerrit Code Review
Browse files

SystemUI: Don't vibrate on touchscreen camera gesture

* This is usually handled in device-specific keyhandler,
  where vibration is optional and has the same duration
  in all gestures

Change-Id: I879671c9d6f785137d63b8b70de35f5d5020748d
parent e0c77b2c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -5221,7 +5221,9 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
            pm.wakeUp(SystemClock.uptimeMillis(), "com.android.systemui:CAMERA_GESTURE");
            mStatusBarKeyguardViewManager.notifyDeviceWakeUpRequested();
        }
        if (source != StatusBarManager.CAMERA_LAUNCH_SOURCE_SCREEN_GESTURE) {
            vibrateForCameraGesture();
        }
        if (!mStatusBarKeyguardViewManager.isShowing()) {
            startActivity(KeyguardBottomAreaView.INSECURE_CAMERA_INTENT,
                    true /* dismissShade */);