diff options
| author | 2021-03-11 22:41:51 +0800 | |
|---|---|---|
| committer | 2021-05-16 14:51:30 +0000 | |
| commit | 8add2635a63788aa163c1898a869a3b177273d50 (patch) | |
| tree | 57ce56efb07fd2274872b7810f5d1368c9530b47 /services/coverage/java | |
| parent | 37f240814396c6295ea05004fdf22feeafb83188 (diff) | |
wifi: Use new API for data usage function
For mobile, a old API: buildTemplateMobileAll doesn't includes the
merged wifi network, call the new API: buildTemplateCarrierMetered
to replace the old one.
PS: Not only usage functionality but also apply to network policy
control since the default policy is changing to use
new API: buildTemplateCarrier now.
Test: atest -c DataUsageControllerTest
Test: atest -c NetworkCycleDataForUidLoaderTest
Test: atest -c NetworkPolicyEditorTest
Test: Manual Test, modify the mobile usage warming and limit bytes and
check the data via adb shell dumpsys netpolicy
Bug: 176396812
Change-Id: I1c7da4a819e45009efe5ba2b80e1526ce6b04e27
Diffstat (limited to 'services/coverage/java')
0 files changed, 0 insertions, 0 deletions