diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java index 530585d864656..fbe381b2ec15c 100644 --- a/core/java/android/provider/Settings.java +++ b/core/java/android/provider/Settings.java @@ -13067,6 +13067,18 @@ public final class Settings { public static final String CHAINED_BATTERY_ATTRIBUTION_ENABLED = "chained_battery_attribution_enabled"; + /** + * Toggle to enable/disable the incremental ADB installation by default. + * If not set, default adb installations are incremental; set to zero to use full ones. + * Note: only ADB uses it, no usages in the Framework code. + *
+ * Type: int (0 to disable, 1 to enable) + * + * @hide + */ + public static final String ENABLE_ADB_INCREMENTAL_INSTALL_DEFAULT = + "enable_adb_incremental_install_default"; + /** * The packages whitelisted to be run in autofill compatibility mode. The list * of packages is {@code ":"} colon delimited, and each entry has the name of the diff --git a/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java b/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java index a36949b9e1ffa..fe083812ffedf 100644 --- a/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java +++ b/packages/SettingsProvider/test/src/android/provider/SettingsBackupTest.java @@ -267,6 +267,7 @@ public class SettingsBackupTest { Settings.Global.DYNAMIC_POWER_SAVINGS_DISABLE_THRESHOLD, Settings.Global.SMART_REPLIES_IN_NOTIFICATIONS_FLAGS, Settings.Global.SMART_SUGGESTIONS_IN_NOTIFICATIONS_FLAGS, + Settings.Global.ENABLE_ADB_INCREMENTAL_INSTALL_DEFAULT, Settings.Global.ENHANCED_CONNECTIVITY_ENABLED, Settings.Global.ENHANCED_4G_MODE_ENABLED, Settings.Global.EPHEMERAL_COOKIE_MAX_SIZE_BYTES,