Revert "Query to SystemProperties for BLAST Flag"

This reverts commit 21bb59188e.

Reason for revert: No permissions to read flag value due to sepolicy.

Change-Id: I7043f7abf7025be622d90a4e720b5deafe315ce8
This commit is contained in:
Valerie Hau
2020-02-20 21:29:44 +00:00
parent 21bb59188e
commit b549bd6cb0

View File

@@ -1169,10 +1169,9 @@ public class WindowManagerService extends IWindowManager.Stub
mAnimator = new WindowAnimator(this);
mRoot = new RootWindowContainer(this);
mUseBLAST = SystemProperties.getBoolean(
String.join(".", "persist.device_config",
mUseBLAST = DeviceConfig.getBoolean(
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);