Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ac3f33c5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Change the old experiment setup to use the new API"

parents e16c1df6 293595fa
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5566,6 +5566,12 @@ package android.provider {
    field public static final String NAMESPACE_NOTIFICATION_ASSISTANT = "notification_assistant";
  }
  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.OnPropertyChangedListener {
    method public void onPropertyChanged(String, String, String);
  }
+13 −0
Original line number Diff line number Diff line
@@ -121,6 +121,19 @@ public final class DeviceConfig {
        String PROPERTY_RAMPING_RINGER_DURATION = "ramping_duration";
    }

    /**
     * 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.
     *
     * @hide
     */
    @SystemApi
    public interface FsiBoot {
        String NAMESPACE = "fsi_boot";
        String OOB_ENABLED = "oob_enabled";
        String OOB_WHITELIST = "oob_whitelist";
    }

    private static final Object sLock = new Object();
    @GuardedBy("sLock")
    private static Map<OnPropertyChangedListener, Pair<String, Executor>> sListeners =
+0 −17
Original line number Diff line number Diff line
@@ -9451,23 +9451,6 @@ public final class Settings {
        public static final String HDMI_CONTROL_AUTO_DEVICE_OFF_ENABLED =
                "hdmi_control_auto_device_off_enabled";
        /**
         * If <b>true</b>, enables out-of-the-box execution for priv apps.
         * Default: false
         * Values: 0 = false, 1 = true
         *
         * @hide
         */
        public static final String PRIV_APP_OOB_ENABLED = "priv_app_oob_enabled";
        /**
         * Comma separated list of privileged package names, which will be running out-of-box APK.
         * Default: "ALL"
         *
         * @hide
         */
        public static final String PRIV_APP_OOB_LIST = "priv_app_oob_list";
        /**
         * The interval in milliseconds at which location requests will be throttled when they are
         * coming from the background.
+1 −2
Original line number Diff line number Diff line
@@ -731,8 +731,7 @@ message GlobalSettingsProto {
    // Defines global runtime overrides to window policy.
    optional SettingProto policy_control = 92;
    optional SettingProto power_manager_constants = 93;
    // If true, out-of-the-box execution for priv apps is enabled.
    optional SettingProto priv_app_oob_enabled = 94 [ (android.privacy).dest = DEST_AUTOMATIC ];
    reserved 94; // Used to be priv_app_oob_enabled

    message PrepaidSetup {
        option (android.msg_privacy).dest = DEST_EXPLICIT;
+0 −2
Original line number Diff line number Diff line
@@ -388,8 +388,6 @@ public class SettingsBackupTest {
                    Settings.Global.POLICY_CONTROL,
                    Settings.Global.POWER_MANAGER_CONSTANTS,
                    Settings.Global.PREFERRED_NETWORK_MODE,
                    Settings.Global.PRIV_APP_OOB_ENABLED,
                    Settings.Global.PRIV_APP_OOB_LIST,
                    Settings.Global.PRIVATE_DNS_DEFAULT_MODE,
                    Settings.Global.PRIVILEGED_DEVICE_IDENTIFIER_CHECK_ENABLED,
                    Settings.Global.PRIVILEGED_DEVICE_IDENTIFIER_NON_PRIV_CHECK_RELAXED,
Loading