Loading core/java/android/provider/Settings.java +12 −0 Original line number Diff line number Diff line Loading @@ -10519,6 +10519,18 @@ public final class Settings { */ public static final String NETWORK_WATCHLIST_ENABLED = "network_watchlist_enabled"; /** * Flag to keep background restricted profiles running after exiting. If disabled, * the restricted profile can be put into stopped state as soon as the user leaves it. * Type: int (0 for false, 1 for true) * * Overridden by the system based on device information. If null, the value specified * by {@code config_keepRestrictedProfilesInBackground} is used. * * @hide */ public static final String KEEP_PROFILE_IN_BACKGROUND = "keep_profile_in_background"; /** * Get the key that retrieves a bluetooth headset's priority. * @hide Loading core/res/res/values/config.xml +2 −0 Original line number Diff line number Diff line Loading @@ -3266,4 +3266,6 @@ <string name="config_defaultAssistantAccessPackage" translatable="false">android.ext.services</string> <bool name="config_supportBluetoothPersistedState">true</bool> <bool name="config_keepRestrictedProfilesInBackground">true</bool> </resources> core/res/res/values/symbols.xml +2 −0 Original line number Diff line number Diff line Loading @@ -3240,4 +3240,6 @@ <java-symbol type="string" name="slices_permission_request" /> <java-symbol type="string" name="screenshot_edit" /> <java-symbol type="bool" name="config_keepRestrictedProfilesInBackground" /> </resources> core/tests/coretests/src/android/provider/SettingsBackupTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -245,6 +245,7 @@ public class SettingsBackupTest { Settings.Global.INTENT_FIREWALL_UPDATE_CONTENT_URL, Settings.Global.INTENT_FIREWALL_UPDATE_METADATA_URL, Settings.Global.JOB_SCHEDULER_CONSTANTS, Settings.Global.KEEP_PROFILE_IN_BACKGROUND, Settings.Global.LANG_ID_UPDATE_CONTENT_URL, Settings.Global.LANG_ID_UPDATE_METADATA_URL, Settings.Global.LOCATION_BACKGROUND_THROTTLE_INTERVAL_MS, Loading Loading
core/java/android/provider/Settings.java +12 −0 Original line number Diff line number Diff line Loading @@ -10519,6 +10519,18 @@ public final class Settings { */ public static final String NETWORK_WATCHLIST_ENABLED = "network_watchlist_enabled"; /** * Flag to keep background restricted profiles running after exiting. If disabled, * the restricted profile can be put into stopped state as soon as the user leaves it. * Type: int (0 for false, 1 for true) * * Overridden by the system based on device information. If null, the value specified * by {@code config_keepRestrictedProfilesInBackground} is used. * * @hide */ public static final String KEEP_PROFILE_IN_BACKGROUND = "keep_profile_in_background"; /** * Get the key that retrieves a bluetooth headset's priority. * @hide Loading
core/res/res/values/config.xml +2 −0 Original line number Diff line number Diff line Loading @@ -3266,4 +3266,6 @@ <string name="config_defaultAssistantAccessPackage" translatable="false">android.ext.services</string> <bool name="config_supportBluetoothPersistedState">true</bool> <bool name="config_keepRestrictedProfilesInBackground">true</bool> </resources>
core/res/res/values/symbols.xml +2 −0 Original line number Diff line number Diff line Loading @@ -3240,4 +3240,6 @@ <java-symbol type="string" name="slices_permission_request" /> <java-symbol type="string" name="screenshot_edit" /> <java-symbol type="bool" name="config_keepRestrictedProfilesInBackground" /> </resources>
core/tests/coretests/src/android/provider/SettingsBackupTest.java +1 −0 Original line number Diff line number Diff line Loading @@ -245,6 +245,7 @@ public class SettingsBackupTest { Settings.Global.INTENT_FIREWALL_UPDATE_CONTENT_URL, Settings.Global.INTENT_FIREWALL_UPDATE_METADATA_URL, Settings.Global.JOB_SCHEDULER_CONSTANTS, Settings.Global.KEEP_PROFILE_IN_BACKGROUND, Settings.Global.LANG_ID_UPDATE_CONTENT_URL, Settings.Global.LANG_ID_UPDATE_METADATA_URL, Settings.Global.LOCATION_BACKGROUND_THROTTLE_INTERVAL_MS, Loading