summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/view/SurfaceView.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/view/SurfaceView.java b/core/java/android/view/SurfaceView.java
index 15adc5a0ec2f..f05e67142f95 100644
--- a/core/java/android/view/SurfaceView.java
+++ b/core/java/android/view/SurfaceView.java
@@ -232,6 +232,7 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall
private final Matrix mTmpMatrix = new Matrix();
SurfaceControlViewHost.SurfacePackage mSurfacePackage;
+ private final boolean mUseBlastSync = false;
/**
* Returns {@code true} if buffers should be submitted via blast
@@ -1922,6 +1923,6 @@ public class SurfaceView extends View implements ViewRootImpl.SurfaceChangedCall
}
private boolean useBLASTSync(ViewRootImpl viewRoot) {
- return viewRoot.useBLAST() && mUseBlastAdapter;
+ return viewRoot.useBLAST() && mUseBlastAdapter && mUseBlastSync;
}
}