summaryrefslogtreecommitdiff
path: root/core/java/android/view/SurfaceView.java
diff options
context:
space:
mode:
authorVishnu Nair <vishnun@google.com>2021-01-06 15:14:37 -0800
committerVishnu Nair <vishnun@google.com>2021-01-06 15:14:37 -0800
commit7fa26f552bf8159f33ccfb699b404cd8d7ce56f3 (patch)
tree163c05147af8b339bcb0b2bc816a18b98a0fdcfa /core/java/android/view/SurfaceView.java
parenta3b6beaff155ac1d780b01865d9f07ba0197e866 (diff)
Enable blast adapater for SurfaceView
Enable buffers to go through BLASTBufferQueue in SurfaceView. Bug: 168917217 Test: atest SurfaceViewBufferTests & manual tests see bug for history Change-Id: I4636f51531b35208fb2f10334876d5e65b0bb364
Diffstat (limited to 'core/java/android/view/SurfaceView.java')
-rw-r--r--core/java/android/view/SurfaceView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/view/SurfaceView.java b/core/java/android/view/SurfaceView.java
index 36124e8de8f5..26e3bb27a788 100644
--- a/core/java/android/view/SurfaceView.java
+++ b/core/java/android/view/SurfaceView.java
@@ -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;