Use native boot namespace for freezer

Bug: 143308662
Test: manually followed "Testing Flag Propagation from the Server" from
      go/android-flags-setup
Change-Id: Ie29ee855a8cb46436fe084bac69d7f920d5718b0
This commit is contained in:
Marco Ballesio
2020-02-05 07:33:37 -08:00
parent 374ba3fcff
commit ba7c1c837a

View File

@@ -442,7 +442,7 @@ public final class CachedAppOptimizer {
*/
@GuardedBy("mPhenotypeFlagLock")
private void updateUseFreezer() {
if (DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER,
if (DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_ACTIVITY_MANAGER_NATIVE_BOOT,
KEY_USE_FREEZER, DEFAULT_USE_FREEZER)) {
mUseFreezer = isFreezerSupported();
}