commit | 3a2e972406d4bd23ccd8ee1007c2be1eaa2e5934 | [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 | c02c9d288b21ebe7d9d033cc7c1671a69c3d0bb9 | |
parent | 5218a1f9e5d9285f7a93a6a37f8db93a01eaa2f8 [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