commit | e436804466a5d5beb62b4df688c56c19ffeff65c | [log] [tgz] |
---|---|---|
author | Aaron Huang <huangaaron@google.com> | Wed May 20 15:21:28 2020 +0800 |
committer | Chalard Jean <jchalard@google.com> | Wed Jun 17 17:09:10 2020 +0900 |
tree | dfe446d9d50b4dc76b82e028a08ff17766fb73a9 | |
parent | fc00838335e16a26890bec8af416caaeb4458a6e [diff] |
Dynamically enable/disable watch for RAT type changes Add ContentObserver to observe the status of NETSTATS_COMBINE_SUBTYPE_ENABLED to determine that NetworkStatsSubscriptionsMonitor start or stop monitoring data usage per RAT type changes. Bug: 154080515 Test: atest NetworkStatsServiceTest#testDynamicWatchForNetworkRatTypeChanges Change-Id: I272d589633c9186b45753228b05aa0b40b7c7b89