Rename fsi_boot to dex_boot and the flag names
During the discussion in cl/229444950, we decide to rename the namespace. Test: make Bug: 120793002 Change-Id: I3ff2024912cc0df19b7c92a33f68476242158301
This commit is contained in:
@@ -5808,10 +5808,10 @@ package android.provider {
|
||||
field public static final String NAMESPACE = "content_capture";
|
||||
}
|
||||
|
||||
public static interface DeviceConfig.FsiBoot {
|
||||
field public static final String NAMESPACE = "fsi_boot";
|
||||
field public static final String OOB_ENABLED = "oob_enabled";
|
||||
field public static final String OOB_WHITELIST = "oob_whitelist";
|
||||
public static interface DeviceConfig.DexBoot {
|
||||
field public static final String NAMESPACE = "dex_boot";
|
||||
field public static final String PRIV_APPS_OOB_ENABLED = "priv_apps_oob_enabled";
|
||||
field public static final String PRIV_APPS_OOB_WHITELIST = "priv_apps_oob_whitelist";
|
||||
}
|
||||
|
||||
public static interface DeviceConfig.IntelligenceAttention {
|
||||
|
||||
@@ -208,16 +208,15 @@ public final class DeviceConfig {
|
||||
}
|
||||
|
||||
/**
|
||||
* Namespace for Full Stack Integrity to run privileged apps only in JIT mode. The flag applies
|
||||
* at process start, so reboot is a way to bring the device to a clean state.
|
||||
* Namespace for how dex runs. The feature may requires reboot to a clean state.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
public interface FsiBoot {
|
||||
String NAMESPACE = "fsi_boot";
|
||||
String OOB_ENABLED = "oob_enabled";
|
||||
String OOB_WHITELIST = "oob_whitelist";
|
||||
public interface DexBoot {
|
||||
String NAMESPACE = "dex_boot";
|
||||
String PRIV_APPS_OOB_ENABLED = "priv_apps_oob_enabled";
|
||||
String PRIV_APPS_OOB_WHITELIST = "priv_apps_oob_whitelist";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
package com.android.server.pm.dex;
|
||||
|
||||
import static android.provider.DeviceConfig.FsiBoot;
|
||||
import static android.provider.DeviceConfig.DexBoot;
|
||||
|
||||
import static com.android.server.pm.InstructionSets.getAppDexInstructionSets;
|
||||
import static com.android.server.pm.dex.PackageDexUsage.DexUseInfo;
|
||||
@@ -710,8 +710,8 @@ public class DexManager {
|
||||
return isPackageSelectedToRunOobInternal(
|
||||
SystemProperties.getBoolean(PROPERTY_NAME_PM_DEXOPT_PRIV_APPS_OOB, false),
|
||||
SystemProperties.get(PROPERTY_NAME_PM_DEXOPT_PRIV_APPS_OOB_LIST, "ALL"),
|
||||
DeviceConfig.getProperty(FsiBoot.NAMESPACE, FsiBoot.OOB_ENABLED),
|
||||
DeviceConfig.getProperty(FsiBoot.NAMESPACE, FsiBoot.OOB_WHITELIST),
|
||||
DeviceConfig.getProperty(DexBoot.NAMESPACE, DexBoot.PRIV_APPS_OOB_ENABLED),
|
||||
DeviceConfig.getProperty(DexBoot.NAMESPACE, DexBoot.PRIV_APPS_OOB_WHITELIST),
|
||||
packageNamesInSameProcess);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user