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

Commit af3a5330 authored by Vladislav Koldobskiy's avatar Vladislav Koldobskiy Committed by Steve Kondik
Browse files

Drop Lockscreen vibrate option [1/2]

It doesn't make sense to keep haptic feedback on, but
disable it only for that little unlock icon.
This option didn't do anything more than that.
Let's drop it and don't confuse users.

Change-Id: I0211deea61b2d5b048deb118c30fc1397a56d3ee
parent a26d22f7
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -3442,12 +3442,6 @@ public final class Settings {
         */
        public static final String CAMERA_UNLOCK_SCREEN = "camera_unlock_screen";

        /**
         * Whether the lockscreen vibrate should be enabled.
         * @hide
         */
        public static final String LOCKSCREEN_VIBRATE_ENABLED = "lockscreen.vibrate_enabled";

        /**
         *  Enable statusbar double tap gesture on to put device to sleep
         * @hide
@@ -3546,7 +3540,6 @@ public final class Settings {
            POWER_MENU_AIRPLANE_ENABLED,
            POWER_MENU_SOUND_ENABLED,
            POWER_MENU_USER_ENABLED,
            LOCKSCREEN_VIBRATE_ENABLED,
            LOCKSCREEN_BATTERY_VISIBILITY,
            PHONE_BLACKLIST_ENABLED,
            PHONE_BLACKLIST_NOTIFY_ENABLED,
+0 −6
Original line number Diff line number Diff line
@@ -25,7 +25,6 @@ import android.app.PendingIntent;
import android.app.SearchManager;
import android.app.admin.DevicePolicyManager;
import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.Context;
import android.content.Intent;
import android.content.pm.PackageManager;
@@ -204,11 +203,6 @@ public class KeyguardSelectorView extends LinearLayout implements KeyguardSecuri
        mGlowPadView.setOnTriggerListener(mOnTriggerListener);
        updateTargets();

        if (Settings.System.getInt(getContext().getContentResolver(),
                Settings.System.LOCKSCREEN_VIBRATE_ENABLED, 1) == 0) {
            mGlowPadView.setVibrateEnabled(false);
        }

        mSecurityMessageDisplay = new KeyguardMessageArea.Helper(this);
        View bouncerFrameView = findViewById(R.id.keyguard_selector_view_frame);
        mBouncerFrame = bouncerFrameView.getBackground();