diff options
| author | 2022-03-23 01:35:30 -0700 | |
|---|---|---|
| committer | 2022-04-15 09:35:40 +0000 | |
| commit | 99b5c0cbf640319cc6d40674bd16ddd0e063acec (patch) | |
| tree | 1d3e56e822a014a8e0d8891e2f2e81a73fa295c3 /api/api.go | |
| parent | c3580425a76c2dd988aed7a75eb37d7e008cf7e1 (diff) | |
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
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions