diff options
| author | Suprabh Shukla <suprabh@google.com> | 2020-05-06 17:55:31 -0700 |
|---|---|---|
| committer | Suprabh Shukla <suprabh@google.com> | 2020-05-19 21:19:26 -0700 |
| commit | 2760e5ee5359c8ef62a4cf499fd087a512ee5cc1 (patch) | |
| tree | 1c26b59019ad9291598d5c5d5e71327d7d39fd08 /services/java/com/android | |
| parent | 6596202d6c83ce0c468b7e9c76073ec2d6a84353 (diff) | |
Move AlarmManager to apex
Mechanical refactoring to move all except native code to the apex
directory. Accesses across the jar boundary will be cleaned up in
follow-ups.
Also, moved alarm manager code into its own package for better
organization.
Test: Buids, boots. Existing tests:
atest FrameworksMockingServicesTests:AlarmManagerServiceTest
atest CtsAlarmManagerTestCases
Bug: 151976605
Change-Id: Ida46491c1f1dff02dce4c50d3fafd4efbf977766
Diffstat (limited to 'services/java/com/android')
| -rw-r--r-- | services/java/com/android/server/SystemServer.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index ea2e7246a7c5..92ca32f97b50 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -308,6 +308,8 @@ public final class SystemServer { "com.android.server.appsearch.AppSearchManagerService"; private static final String ROLLBACK_MANAGER_SERVICE_CLASS = "com.android.server.rollback.RollbackManagerService"; + private static final String ALARM_MANAGER_SERVICE_CLASS = + "com.android.server.alarm.AlarmManagerService"; private static final String TETHERING_CONNECTOR_CLASS = "android.net.ITetheringConnector"; @@ -1145,7 +1147,7 @@ public final class SystemServer { } t.traceBegin("StartAlarmManagerService"); - mSystemServiceManager.startService(new AlarmManagerService(context)); + mSystemServiceManager.startService(ALARM_MANAGER_SERVICE_CLASS); t.traceEnd(); t.traceBegin("StartInputManagerService"); |
