summaryrefslogtreecommitdiff
path: root/core/java
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2020-10-23 11:36:07 -0700
committerKweku Adams <kwekua@google.com>2020-10-23 13:46:55 -0700
commit12fce9938eb06e6b994b35990f1974876ea58b1b (patch)
treec83ceb2f3e9e8b1e3cc22bedfc359c9e9c805799 /core/java
parentf82f0bc28e01fea9ec10ab0ebdcf9f7c5f031d66 (diff)
Migrate QuotaController to DeviceConfig.
This migrates flags inside QuotaController to DeviceConfig. DeviceConfig is the recommended way and using it means that we only operate/parse the set of flags that changed instead of every single flag whenever one of them changes. This uses the JobScheduler DeviceConfig namespace instead of creating a wholly separate namespace just for the controller. Bug: 124466289 Test: atest CtsJobSchedulerTestCases Test: atest FrameworksMockingServicesTests:ConnectivityControllerTest Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest Test: atest FrameworksMockingServicesTests:JobStatusTest Test: atest FrameworksMockingServicesTests:QuotaControllerTest Test: atest FrameworksServicesTests:JobStoreTest Change-Id: Id397dccc6d9c40bac1a9837addcab514f509a721
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/provider/Settings.java15
1 files changed, 0 insertions, 15 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index a4212b53c905..2308d4121b70 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -11913,21 +11913,6 @@ public final class Settings {
public static final String POWER_MANAGER_CONSTANTS = "power_manager_constants";
/**
- * Job scheduler QuotaController specific settings.
- * This is encoded as a key=value list, separated by commas. Ex:
- *
- * "max_job_count_working=5,max_job_count_rare=2"
- *
- * <p>
- * Type: string
- *
- * @hide
- * @see com.android.server.job.JobSchedulerService.Constants
- */
- public static final String JOB_SCHEDULER_QUOTA_CONTROLLER_CONSTANTS =
- "job_scheduler_quota_controller_constants";
-
- /**
* ShortcutManager specific settings.
* This is encoded as a key=value list, separated by commas. Ex:
*