commit | b412cf82124b1cb1e3e48091535b22d1686138b9 | [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 | cd192301a222e585bdf161502c48fb086ba3e427 [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