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
Loading
Please register or sign in to comment