Merge "Query to SystemProperties for BLAST Flag"

This commit is contained in:
TreeHugger Robot
2020-02-19 04:58:46 +00:00
committed by Android (Google) Code Review

View File

@@ -1169,9 +1169,10 @@ public class WindowManagerService extends IWindowManager.Stub
mAnimator = new WindowAnimator(this);
mRoot = new RootWindowContainer(this);
mUseBLAST = DeviceConfig.getBoolean(
mUseBLAST = SystemProperties.getBoolean(
String.join(".", "persist.device_config",
DeviceConfig.NAMESPACE_WINDOW_MANAGER_NATIVE_BOOT,
WM_USE_BLAST_ADAPTER_FLAG, false);
WM_USE_BLAST_ADAPTER_FLAG), false);
mWindowPlacerLocked = new WindowSurfacePlacer(this);
mTaskSnapshotController = new TaskSnapshotController(this);