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

Commit a21eb097 authored by Byunghun Jeon's avatar Byunghun Jeon Committed by Gerrit - the friendly Code Review server
Browse files

SystemUI: Set default blur effect to off

Change default blur effect to off so that it matches with blur effect
setting value in Settings

Change-Id: I5f1ff1b78cc99b9e27fb293cbd97bbff12a58a14
CRs-Fixed: 777194
parent ae01042e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -125,7 +125,7 @@ public class StatusBarWindowManager {
        @Override
        public void onChange(boolean selfChange) {
            mKeyguardBlurEnabled = 1 == Settings.System.getInt(
                    mContext.getContentResolver(), Settings.System.BLUR_EFFECT_LOCKSCREEN, 1);
                    mContext.getContentResolver(), Settings.System.BLUR_EFFECT_LOCKSCREEN, 0);
        }
    };

+1 −1
Original line number Diff line number Diff line
@@ -457,7 +457,7 @@ public class VolumePanel extends Handler {
        @Override
        public void onChange(boolean selfChange) {
            mBlurUiEnabled = 1 == Settings.System.getInt(
                    mContext.getContentResolver(), Settings.System.BLUR_EFFECT_VOLUMECONTROL, 1);
                    mContext.getContentResolver(), Settings.System.BLUR_EFFECT_VOLUMECONTROL, 0);
            setupVolumePanelBlur(mBlurUiEnabled);
        }
    };
+1 −1
Original line number Diff line number Diff line
@@ -1251,7 +1251,7 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac
            params.apply(mAlert);

            int blurSetting = Settings.System.getInt( mContext.getContentResolver(),
                    Settings.System.BLUR_EFFECT_GLOBALACTION, 1);
                    Settings.System.BLUR_EFFECT_GLOBALACTION, 0);
            if( blurSetting == 1 ) {
                getWindow().addFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND);
                getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);