Revert^2 Flip BLAST for SurfaceView

Enable buffers to go through BLASTBufferQueue
in SurfaceView.

Bug: 168917217
Test: presubmit tests now include wm cts tests
Test: manual virtual display tests
Test: atest SurfaceViewBufferTests & manual tests
Change-Id: I2096da3d39fe5160629795fe648c5b63ebf4c620
This commit is contained in:
Vishnu Nair
2020-12-09 00:52:20 +00:00
parent 2cefd2df6d
commit 2b5f28a558

View File

@@ -239,7 +239,7 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall
private static boolean useBlastAdapter(Context context) {
ContentResolver contentResolver = context.getContentResolver();
return Settings.Global.getInt(contentResolver,
Settings.Global.DEVELOPMENT_USE_BLAST_ADAPTER_SV, 0 /* default */) == 1;
Settings.Global.DEVELOPMENT_USE_BLAST_ADAPTER_SV, 1 /* default */) == 1;
}
private final boolean mUseBlastAdapter;