Loading packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardRootViewBinder.kt +8 −20 Original line number Diff line number Diff line Loading @@ -224,16 +224,10 @@ object KeyguardRootViewBinder { deviceEntryHapticsInteractor.playSuccessHaptic .filter { it } .collect { if ( featureFlags.isEnabled(Flags.ONE_WAY_HAPTICS_API_MIGRATION) ) { vibratorHelper.performHapticFeedback( view, HapticFeedbackConstants.CONFIRM, ) } else { vibratorHelper.vibrateAuthSuccess("device-entry::success") } deviceEntryHapticsInteractor.handleSuccessHaptic() } } Loading @@ -242,16 +236,10 @@ object KeyguardRootViewBinder { deviceEntryHapticsInteractor.playErrorHaptic .filter { it } .collect { if ( featureFlags.isEnabled(Flags.ONE_WAY_HAPTICS_API_MIGRATION) ) { vibratorHelper.performHapticFeedback( view, HapticFeedbackConstants.REJECT, ) } else { vibratorHelper.vibrateAuthSuccess("device-entry::error") } deviceEntryHapticsInteractor.handleErrorHaptic() } } Loading Loading
packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/KeyguardRootViewBinder.kt +8 −20 Original line number Diff line number Diff line Loading @@ -224,16 +224,10 @@ object KeyguardRootViewBinder { deviceEntryHapticsInteractor.playSuccessHaptic .filter { it } .collect { if ( featureFlags.isEnabled(Flags.ONE_WAY_HAPTICS_API_MIGRATION) ) { vibratorHelper.performHapticFeedback( view, HapticFeedbackConstants.CONFIRM, ) } else { vibratorHelper.vibrateAuthSuccess("device-entry::success") } deviceEntryHapticsInteractor.handleSuccessHaptic() } } Loading @@ -242,16 +236,10 @@ object KeyguardRootViewBinder { deviceEntryHapticsInteractor.playErrorHaptic .filter { it } .collect { if ( featureFlags.isEnabled(Flags.ONE_WAY_HAPTICS_API_MIGRATION) ) { vibratorHelper.performHapticFeedback( view, HapticFeedbackConstants.REJECT, ) } else { vibratorHelper.vibrateAuthSuccess("device-entry::error") } deviceEntryHapticsInteractor.handleErrorHaptic() } } Loading