summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Sudheer Shanka <sudheersai@google.com> 2022-03-23 01:35:30 -0700
committer Sudheer Shanka <sudheersai@google.com> 2022-03-23 18:25:18 +0000
commit12e997720b7dcad032ea746e9a6f98bac3f03bcb (patch)
tree588aa86dadcbe1060287e234b965597ae204bb36 /libs/androidfw/ResourceTimer.cpp
parent04b5ad3c497a7e8187f6f224e712efc099c57c49 (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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions