diff options
| author | Kweku Adams <kwekua@google.com> | 2021-07-21 14:30:06 -0700 |
|---|---|---|
| committer | Kweku Adams <kwekua@google.com> | 2021-07-21 14:30:06 -0700 |
| commit | 9fd988ff0affc93cb840391acb7bc44152f74d9b (patch) | |
| tree | 6af2cb455463b82a703dfaf0b4875ce1267ac525 /services/java/com/android | |
| parent | b448a89707e64cd48725852254816399b6c48b98 (diff) | |
Initialize the IRS as a SystemService.
Bug: 158300259
Test: Flash device and check logcat for IRS startup
Change-Id: Icf0bfc5a09b9d430f64660a8aacd27be5ce50775
Diffstat (limited to 'services/java/com/android')
| -rw-r--r-- | services/java/com/android/server/SystemServer.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index 787f588cb901..5798c0d290cc 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -286,6 +286,8 @@ public final class SystemServer implements Dumpable { "com.android.server.job.JobSchedulerService"; private static final String LOCK_SETTINGS_SERVICE_CLASS = "com.android.server.locksettings.LockSettingsService$Lifecycle"; + private static final String RESOURCE_ECONOMY_SERVICE_CLASS = + "com.android.server.tare.InternalResourceService"; private static final String STORAGE_MANAGER_SERVICE_CLASS = "com.android.server.StorageManagerService$Lifecycle"; private static final String STORAGE_STATS_SERVICE_CLASS = @@ -1465,6 +1467,12 @@ public final class SystemServer implements Dumpable { t.traceEnd(); } + // TODO(aml-jobscheduler): Think about how to do it properly. + t.traceBegin("StartResourceEconomy"); + mSystemServiceManager.startService(RESOURCE_ECONOMY_SERVICE_CLASS); + t.traceEnd(); + + // TODO(aml-jobscheduler): Think about how to do it properly. t.traceBegin("StartAlarmManagerService"); mSystemServiceManager.startService(ALARM_MANAGER_SERVICE_CLASS); t.traceEnd(); |
