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

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

Change-Id: Ib6e73dc66e5ea34228d86860e4ddc983c1ea8431
This commit is contained in:
TreeHugger Robot
2021-06-29 16:14:13 +00:00
committed by Automerger Merge Worker

View File

@@ -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")