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

Commit 2d33e18e authored by Juan Sebastian Martinez's avatar Juan Sebastian Martinez
Browse files

Ignoring user touch feedback settings for keyguard udfps authentication.

The FLAG_IGONRE_GLOBAL_SETTING will ensure that confirm and reject
haptics always play when the user succeeds or fails to authenticate.

Test: manual: Turn off Touch Feedback on Settings > Sound & Vibration >
  Vibration & haptics. Verified that haptics play on successful and
  failed authetication.
Bug: 316645639
Flag: NONE
Change-Id: I844e628bc58c4b08459dcc2218396e5d9721ef87
parent 80a235b2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -255,6 +255,7 @@ object KeyguardRootViewBinder {
                                vibratorHelper.performHapticFeedback(
                                    view,
                                    HapticFeedbackConstants.CONFIRM,
                                    HapticFeedbackConstants.FLAG_IGNORE_GLOBAL_SETTING,
                                )
                            }
                        }
@@ -264,6 +265,7 @@ object KeyguardRootViewBinder {
                                vibratorHelper.performHapticFeedback(
                                    view,
                                    HapticFeedbackConstants.REJECT,
                                    HapticFeedbackConstants.FLAG_IGNORE_GLOBAL_SETTING,
                                )
                            }
                        }