Merge "Remove ConnectivityManager and its usages from NetworkStatsService."

This commit is contained in:
Varun Anand
2019-03-01 01:14:34 +00:00
committed by Android (Google) Code Review
7 changed files with 136 additions and 87 deletions

View File

@@ -1366,7 +1366,6 @@ public final class SystemServer {
ServiceManager.addService(Context.CONNECTIVITY_SERVICE, connectivity,
/* allowIsolated= */ false,
DUMP_FLAG_PRIORITY_HIGH | DUMP_FLAG_PRIORITY_NORMAL);
networkStats.bindConnectivityManager(connectivity);
networkPolicy.bindConnectivityManager(connectivity);
} catch (Throwable e) {
reportWtf("starting Connectivity Service", e);