Don't reference RollbackManagerService directly (2/n)
This is an effort to modularize RollbackManager. As we move RollbackManagerService to apex/, SystemServer can't reference RollbackManagerService directly. Let's use the class name to start the service. Bug: 150347230 Test: m Change-Id: Ied68ad031f84ea4a416ad779e9ddf4cc912bd7b9
This commit is contained in:
@@ -145,7 +145,6 @@ import com.android.server.power.ThermalManagerService;
|
||||
import com.android.server.recoverysystem.RecoverySystemService;
|
||||
import com.android.server.restrictions.RestrictionsManagerService;
|
||||
import com.android.server.role.RoleManagerService;
|
||||
import com.android.server.rollback.RollbackManagerService;
|
||||
import com.android.server.security.FileIntegrityService;
|
||||
import com.android.server.security.KeyAttestationApplicationIdProviderService;
|
||||
import com.android.server.security.KeyChainSystemService;
|
||||
@@ -291,6 +290,8 @@ public final class SystemServer {
|
||||
"com.android.server.blob.BlobStoreManagerService";
|
||||
private static final String APP_SEARCH_MANAGER_SERVICE_CLASS =
|
||||
"com.android.server.appsearch.AppSearchManagerService";
|
||||
private static final String ROLLBACK_MANAGER_SERVICE_CLASS =
|
||||
"com.android.server.rollback.RollbackManagerService";
|
||||
|
||||
private static final String TETHERING_CONNECTOR_CLASS = "android.net.ITetheringConnector";
|
||||
|
||||
@@ -961,7 +962,7 @@ public final class SystemServer {
|
||||
|
||||
// Manages apk rollbacks.
|
||||
t.traceBegin("StartRollbackManagerService");
|
||||
mSystemServiceManager.startService(RollbackManagerService.class);
|
||||
mSystemServiceManager.startService(ROLLBACK_MANAGER_SERVICE_CLASS);
|
||||
t.traceEnd();
|
||||
|
||||
// Service to capture bugreports.
|
||||
|
||||
Reference in New Issue
Block a user