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 Merged-In: I1c7da4a819e45009efe5ba2b80e1526ce6b04e27 Change-Id: I1c7da4a819e45009efe5ba2b80e1526ce6b04e27
Loading
Please register or sign in to comment