Remove all static members from NetworkStatsFactory.

NetworkStatsFactory is owned by NetworkStatsService, and any
accesses to NSF data should go through NSS.

Test: atest FrameworksNetTests
Change-Id: Idbd0dbbaeb11313f63474e7ec0e01f974349fc89
This commit is contained in:
Lorenzo Colitti
2019-06-24 13:50:45 +09:00
parent 8b6fdeca3f
commit bcaf1f959b
3 changed files with 33 additions and 34 deletions

View File

@@ -67,7 +67,8 @@ interface INetworkStatsService {
void forceUpdateIfaces(
in Network[] defaultNetworks,
in NetworkState[] networkStates,
in String activeIface);
in String activeIface,
in VpnInfo[] vpnInfos);
/** Force update of statistics. */
@UnsupportedAppUsage
void forceUpdate();