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
1 file changed
tree: 6255080cfa8020da709f17d66bbd966f1c54fa82
  1. core/
  2. services/
  3. tests/