Avoid checking for idle state when the app is in top state.
When we know that an app moved to a procstate that is considered an interaction event, the app will not be in idle state. So, avoid calling into UsageStatsService for idle state in this case. Bug: 209338078 Test: atest tests/cts/hostside/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java Change-Id: I5648db595d2fd10a151da13e472fd905bcafe182 Merged-In: I5648db595d2fd10a151da13e472fd905bcafe182
Loading
Please register or sign in to comment