commit | 7558938ce99bf6338ba2c628478bcde13d23a203 | [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 | 6255080cfa8020da709f17d66bbd966f1c54fa82 | |
parent | 9792742ee04bb28595e20bf2266c3919e896d60b [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