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

Commit 33a8a464 authored by Zhao Wei Liew's avatar Zhao Wei Liew
Browse files

Disable lock screen blur by default

This is a controversial feature.

Not all users like it, especially due to the fact that a user's
desktop is somewhat visible with it.

Depends on change I557f3956de53bda3d709ddcc5a513ca37c8a5b53.

Change-Id: I544c413e1be9ad52d75b0df23aa7cef426aaf80a
parent 04b2dae4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -511,7 +511,7 @@ public class StatusBarWindowManager implements RemoteInputController.Callback,
                mKeyguardScreenRotation = shouldEnableKeyguardScreenRotation();
                mKeyguardScreenRotation = shouldEnableKeyguardScreenRotation();
                break;
                break;
            case LOCK_SCREEN_BLUR_ENABLED:
            case LOCK_SCREEN_BLUR_ENABLED:
                mKeyguardBlurEnabled = newValue == null || Integer.parseInt(newValue) == 1;
                mKeyguardBlurEnabled = newValue != null && Integer.parseInt(newValue) == 1;
                break;
                break;
            default:
            default:
                return;
                return;
+1 −1
Original line number Original line Diff line number Diff line
@@ -1045,7 +1045,7 @@ public class WindowAnimator {
        @Override
        @Override
        public void onChange(boolean selfChange) {
        public void onChange(boolean selfChange) {
            mKeyguardBlurEnabled = CMSettings.Secure.getInt(mContext.getContentResolver(),
            mKeyguardBlurEnabled = CMSettings.Secure.getInt(mContext.getContentResolver(),
                    CMSettings.Secure.LOCK_SCREEN_BLUR_ENABLED, 1) == 1;
                    CMSettings.Secure.LOCK_SCREEN_BLUR_ENABLED, 0) == 1;
        }
        }
    }
    }
}
}