diff options
| author | 2020-03-06 15:24:38 -0800 | |
|---|---|---|
| committer | 2020-03-06 15:36:37 -0800 | |
| commit | 417fa7eac8115c1f090ee5fd244998e97a6484fb (patch) | |
| 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
| -rw-r--r-- | packages/SystemUI/shared/src/com/android/systemui/shared/system/SurfaceViewRequestReceiver.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 8809d832d72d..7cfa289595e3 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 @@ public class SurfaceViewRequestReceiver { surfaceControl.getWidth(), surfaceControl.getHeight(), WindowManager.LayoutParams.TYPE_APPLICATION, - 0, + WindowManager.LayoutParams.FLAG_HARDWARE_ACCELERATED, mOpacity); mSurfaceControlViewHost.addView(view, layoutParams); |