diff options
author | lesl <lesl@google.com> | 2021-05-06 12:44:21 +0800 |
---|---|---|
committer | Les Lee <lesl@google.com> | 2021-06-01 10:34:10 +0000 |
commit | 5012cef58f5f9aefdae3f6d066bf48bc462de483 (patch) | |
tree | 5ec5a1c92066b1b9c743ae04c77c212e164d3f19 /src/com/android/settings/development/transcode/TranscodeNotificationPreferenceController.java | |
parent | 3940e5293c52130cbb298a74700b7b02f0d55d83 (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: make RunSettingsRoboTests ROBOTEST_FILTER=SettingsDumpServiceTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=DataUsageLibTest
Test: Manual Test, modify the mobile usage warming and limit bytes and
check the data via adb shell dumpsys netpolicy
Bug: 176396812
Merged-In: I6fbec14e7be4dc4b5c2fd3659a801521c81b233c
Change-Id: I6fbec14e7be4dc4b5c2fd3659a801521c81b233c
Diffstat (limited to 'src/com/android/settings/development/transcode/TranscodeNotificationPreferenceController.java')
0 files changed, 0 insertions, 0 deletions