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

Commit f3a8e8c0 authored by Selim Cinek's avatar Selim Cinek
Browse files

Disabled the wallpaper when completely in -1 Now space.

Bug: 11186234
Change-Id: I6ffb66f12298bd9df7e228a8589d63780b70a396
parent cdd82ef1
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -2869,7 +2869,7 @@ public class Launcher extends Activity
                mWorkspaceBackgroundDrawable : null);
                mWorkspaceBackgroundDrawable : null);
    }
    }


    void updateWallpaperVisibility(boolean visible) {
    protected void changeWallpaperVisiblity(boolean visible) {
        int wpflags = visible ? WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER : 0;
        int wpflags = visible ? WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER : 0;
        int curflags = getWindow().getAttributes().flags
        int curflags = getWindow().getAttributes().flags
                & WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER;
                & WindowManager.LayoutParams.FLAG_SHOW_WALLPAPER;