Merge "Specify the wallpaper blast wrapper is a wallpaper window" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0954cfe651
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user