Revert "Move service-connectivity to the tethering APEX"
Revert submission 1532910-connectivity_jar_in_apex
Reason for revert: Breaks boot tests: b/176969905
Reverted Changes:
Ie41a5b569:Set setCurrentProxyScriptUrl as public
Id7b6a4664:Move service-connectivity to the tethering APEX
Ia7cb83834:Add service-connectivity to tethering APEX
Change-Id: I1c369dd8a6527513f8fc1a5cacde59d78d104c7e
(cherry picked from commit 3e157018f7)
This commit is contained in:
committed by
Colin Cross
parent
0eed8e43af
commit
72b28f2690
@@ -237,8 +237,6 @@ public final class SystemServer implements Dumpable {
|
||||
"com.android.server.companion.CompanionDeviceManagerService";
|
||||
private static final String STATS_COMPANION_APEX_PATH =
|
||||
"/apex/com.android.os.statsd/javalib/service-statsd.jar";
|
||||
private static final String CONNECTIVITY_SERVICE_APEX_PATH =
|
||||
"/apex/com.android.tethering/javalib/service-connectivity.jar";
|
||||
private static final String STATS_COMPANION_LIFECYCLE_CLASS =
|
||||
"com.android.server.stats.StatsCompanion$Lifecycle";
|
||||
private static final String STATS_PULL_ATOM_SERVICE_CLASS =
|
||||
@@ -1356,8 +1354,7 @@ public final class SystemServer implements Dumpable {
|
||||
}
|
||||
|
||||
t.traceBegin("IpConnectivityMetrics");
|
||||
mSystemServiceManager.startServiceFromJar(IP_CONNECTIVITY_METRICS_CLASS,
|
||||
CONNECTIVITY_SERVICE_APEX_PATH);
|
||||
mSystemServiceManager.startService(IP_CONNECTIVITY_METRICS_CLASS);
|
||||
t.traceEnd();
|
||||
|
||||
t.traceBegin("NetworkWatchlistService");
|
||||
@@ -1722,8 +1719,8 @@ public final class SystemServer implements Dumpable {
|
||||
// This has to be called after NetworkManagementService, NetworkStatsService
|
||||
// and NetworkPolicyManager because ConnectivityService needs to take these
|
||||
// services to initialize.
|
||||
mSystemServiceManager.startServiceFromJar(CONNECTIVITY_SERVICE_INITIALIZER_CLASS,
|
||||
CONNECTIVITY_SERVICE_APEX_PATH);
|
||||
// TODO: Dynamically load service-connectivity.jar by using startServiceFromJar.
|
||||
mSystemServiceManager.startService(CONNECTIVITY_SERVICE_INITIALIZER_CLASS);
|
||||
connectivity = IConnectivityManager.Stub.asInterface(
|
||||
ServiceManager.getService(Context.CONNECTIVITY_SERVICE));
|
||||
// TODO: Use ConnectivityManager instead of ConnectivityService.
|
||||
|
||||
Reference in New Issue
Block a user