Skip to content
Commit 35c9bb85 authored by lesl's avatar lesl Committed by Les Lee
Browse files

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
parent b8b282e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment