Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cbbd54b authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Revert^4 Flip BLAST for SurfaceView

Enable buffers to go through BLASTBufferQueue
in SurfaceView.

Bug: 168917217
Change-Id: If64f5232d5f92d19eff5099b634ee3356087dff8
Test: presubmit tests now include wm cts tests
Test: manual virtual display tests
Test: atest SurfaceViewBufferTests & manual tests
Test: GtsMediaTestCases CtsMediaTestCases CtsCameraTestCases
parent 25d41144
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -240,7 +240,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;