Merge "Turn on hardware acceleration flag on the windowless window we render" into rvc-dev

This commit is contained in:
Tracy Zhou
2020-03-07 01:08:12 +00:00
committed by Android (Google) Code Review

View File

@@ -62,7 +62,7 @@ public class SurfaceViewRequestReceiver {
surfaceControl.getWidth(), surfaceControl.getWidth(),
surfaceControl.getHeight(), surfaceControl.getHeight(),
WindowManager.LayoutParams.TYPE_APPLICATION, WindowManager.LayoutParams.TYPE_APPLICATION,
0, WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED,
mOpacity); mOpacity);
mSurfaceControlViewHost.addView(view, layoutParams); mSurfaceControlViewHost.addView(view, layoutParams);