diff options
author | lesl <lesl@google.com> | 2021-03-11 22:41:51 +0800 |
---|---|---|
committer | Les Lee <lesl@google.com> | 2021-06-01 18:14:43 +0800 |
commit | 35c9bb8521e3bb03dd97f6249f1b6ffa5cf17ef6 (patch) | |
tree | 35775794e9debdf1d037fc938d173679e204723a /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | b8b282e54eb0932bc10430388d2cb52486248d78 (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
Merged-In: I1c7da4a819e45009efe5ba2b80e1526ce6b04e27
Change-Id: I1c7da4a819e45009efe5ba2b80e1526ce6b04e27
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions