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

Commit 3fb0af38 authored by Jeff Sharkey's avatar Jeff Sharkey
Browse files

Enable haptic feedback from ILockSettings.

Bug: 6438580
Change-Id: I671ef3c7ac816596ab1944609bae672d1b0cb0ef
parent 2411c336
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -113,10 +113,7 @@ public class PasswordUnlockScreen extends LinearLayout implements KeyguardScreen
        mPasswordEntry.setOnEditorActionListener(this);

        mKeyboardHelper = new PasswordEntryKeyboardHelper(context, mKeyboardView, this, false);
        mKeyboardHelper.setEnableHaptics(
                Settings.Secure.getInt(mContext.getContentResolver(),
                        Settings.Secure.LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED, 0)
                        != 0);
        mKeyboardHelper.setEnableHaptics(mLockPatternUtils.isTactileFeedbackEnabled());
        boolean imeOrDeleteButtonVisible = false;
        if (mIsAlpha) {
            // We always use the system IME for alpha keyboard, so hide lockscreen's soft keyboard