[IT4.5] Update radio power from CS directly
There were two ways to update the network activity from NetworkManagementService to BatteryStatsService. 1. The Netd unsolicited event onInterfaceClassActivityChanged 2. The idle timer setup and removal The first path was replaced by previous patch to listen netd event from BSS directly. BSS does not rely on NMS to notify event from netd now. This patch is going to replace the second path. In order to clear the dependency between NMS and CS, the idle timer setup and removal will be sent from CS to INetd directly without going via NMS in the follow up patches. NMS will no longer receive the idle timer update. Thus, update the radio power status from CS to BSS directly to separate the network activity logic from NMS. Bug: 170598012 Test: atest FrameworksNetTests Change-Id: I716bd77168896b29a6e04f592adcf27b82edebca
Loading
Please register or sign in to comment