From d0c3664b00510ef70b171adb0133516472ef2d9f Mon Sep 17 00:00:00 2001 From: Chris Wailes Date: Mon, 25 Mar 2019 17:56:27 -0700 Subject: [PATCH] Enabled the USAP Pool by default. Set the default value for the USAP Pool to true for devices that don't receive DeviceConfig profiles. Bug: 128851983 Test: m & boot & check log for USAP creation Change-Id: Id171336671a4fb8b8ad59c5b0e2e725657361107 (cherry picked from commit 0f7bce31a8c98d5f6735f5c82213730e0e64d03d) --- core/java/android/os/ZygoteProcess.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/java/android/os/ZygoteProcess.java b/core/java/android/os/ZygoteProcess.java index 34200077044df..bd70f23c8b5d1 100644 --- a/core/java/android/os/ZygoteProcess.java +++ b/core/java/android/os/ZygoteProcess.java @@ -77,9 +77,11 @@ public class ZygoteProcess { private static final String LOG_TAG = "ZygoteProcess"; /** - * The default value for enabling the unspecialized app process (USAP) pool. + * The default value for enabling the unspecialized app process (USAP) pool. This value will + * not be used if the devices has a DeviceConfig profile pushed to it that contains a value for + * this key. */ - private static final String USAP_POOL_ENABLED_DEFAULT = "false"; + private static final String USAP_POOL_ENABLED_DEFAULT = "true"; /** * The name of the socket used to communicate with the primary zygote.