summaryrefslogtreecommitdiff
path: root/libs/androidfw/ConfigDescription.cpp
diff options
context:
space:
mode:
author JW Wang <wangchun@google.com> 2022-12-12 10:50:02 +0800
committer JW Wang <wangchun@google.com> 2022-12-16 16:08:06 +0800
commitd2f1260c58633a6808e03c84a9a001fef3ce88b1 (patch)
treeeb1cba7d591aa0da1a489c7e016b88739de72c0c /libs/androidfw/ConfigDescription.cpp
parentf8d1c26e50940390d607f4ad7f27cf50aa4a1b11 (diff)
Implement AppStateHelper#hasActiveNetwork
An app is said to be network active if it has sent or received network data over the pas 10 minutes. For now we monitor only WIFI and mobile network. This should cover most cases of network usage. Bug: 235306967 Test: atest CtsStagedInstallHostTestCases Change-Id: Iac49bd83202932fc7a411cdc8a97e0a949c3f691
Diffstat (limited to 'libs/androidfw/ConfigDescription.cpp')
0 files changed, 0 insertions, 0 deletions