From 5cf36637f992afbc935cdddd0a9adaeef238308d Mon Sep 17 00:00:00 2001 From: Robert Carr Date: Mon, 19 Oct 2020 15:29:32 -0700 Subject: [PATCH] Flip BLAST flag. This flag will enable the BLASTBufferQueue adapter for use by ViewRootImpl. BLASTSync and the BLASTBufferQueue in SurfaceView are still behind seperate flags. Bug: 168506246 Test: Days of manual testing on multiple devices (stressed: app switching, rotation, SurfaceView, PIP, Split-screen). Multiple presubmits. 5 passing runs of flicker. Systrace inspection. App startup perf tests. Inspection of jankstats from experiment based flip in R dogfood. Change-Id: I904185f5ab41e7d15c64d066f94e2658bff1a230 --- .../core/java/com/android/server/wm/WindowManagerService.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/core/java/com/android/server/wm/WindowManagerService.java b/services/core/java/com/android/server/wm/WindowManagerService.java index 81fe4748a9322..6aba047af4f5b 100644 --- a/services/core/java/com/android/server/wm/WindowManagerService.java +++ b/services/core/java/com/android/server/wm/WindowManagerService.java @@ -1203,9 +1203,7 @@ public class WindowManagerService extends IWindowManager.Stub mAnimator = new WindowAnimator(this); mRoot = new RootWindowContainer(this); - mUseBLAST = DeviceConfig.getBoolean( - DeviceConfig.NAMESPACE_WINDOW_MANAGER_NATIVE_BOOT, - WM_USE_BLAST_ADAPTER_FLAG, false); + mUseBLAST = true; mSyncEngine = new BLASTSyncEngine(this);