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

Commit d112d1a7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Specify the wallpaper blast wrapper is a wallpaper window" into sc-dev am: 0954cfe6

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15132873

Change-Id: Ibefc8e27047244cf161c87f59e0eecba9a104935
parents 2067cd50 0954cfe6
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import static android.graphics.Matrix.MSCALE_X;
import static android.graphics.Matrix.MSCALE_Y;
import static android.graphics.Matrix.MSKEW_X;
import static android.graphics.Matrix.MSKEW_Y;
import static android.view.SurfaceControl.METADATA_WINDOW_TYPE;
import static android.view.View.SYSTEM_UI_FLAG_VISIBLE;
import static android.view.WindowManager.LayoutParams.TYPE_WALLPAPER;

@@ -1024,6 +1025,8 @@ public abstract class WallpaperService extends Service {
                            mBbqSurfaceControl = new SurfaceControl.Builder()
                                    .setName("Wallpaper BBQ wrapper")
                                    .setHidden(false)
                                    // TODO(b/192291754)
                                    .setMetadata(METADATA_WINDOW_TYPE, TYPE_WALLPAPER)
                                    .setBLASTLayer()
                                    .setParent(mSurfaceControl)
                                    .setCallsite("Wallpaper#relayout")