commit | 417fa7eac8115c1f090ee5fd244998e97a6484fb | [log] [tgz] |
---|---|---|
author | Tracy Zhou <tracyzhou@google.com> | Fri Mar 06 15:24:38 2020 -0800 |
committer | Tracy Zhou <tracyzhou@google.com> | Fri Mar 06 15:36:37 2020 -0800 |
tree | dae3bc5105708158a5e141da76166e8b5c063869 | |
parent | 606626e020abd13b87af7e2db59f6dafaef24452 [diff] |
Turn on hardware acceleration flag on the windowless window we render Bug: 150224413 Test: Manual. Make sure universal smartspace still works as intended. Change-Id: I9ed867ca1612b5c016e97765ebf077051c5da23c
diff --git a/packages/SystemUI/shared/src/com/android/systemui/shared/system/SurfaceViewRequestReceiver.java b/packages/SystemUI/shared/src/com/android/systemui/shared/system/SurfaceViewRequestReceiver.java index 8809d83..7cfa289 100644 --- a/packages/SystemUI/shared/src/com/android/systemui/shared/system/SurfaceViewRequestReceiver.java +++ b/packages/SystemUI/shared/src/com/android/systemui/shared/system/SurfaceViewRequestReceiver.java
@@ -62,7 +62,7 @@ surfaceControl.getWidth(), surfaceControl.getHeight(), WindowManager.LayoutParams.TYPE_APPLICATION, - 0, + WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, mOpacity); mSurfaceControlViewHost.addView(view, layoutParams);