Merge "Address leftover comments on aosp/1212191" am: 962fcbfb73

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1565033

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0b5f86f592dfa093b56e00c0445695cd42a4a963
This commit is contained in:
Treehugger Robot
2021-02-02 17:13:34 +00:00
committed by Automerger Merge Worker

View File

@@ -37,11 +37,9 @@ interface IOffloadControl extends @1.0::IOffloadControl {
* offload is started. This is because the quota values would likely become stale over
* time and would not reflect any new traffic that has occurred.
*
* This API replaces {@link @1.0::IOffloadControl::setDataLimit}, the framework would always
* calls this API if 1.1 HAL is supported. Otherwise, calls the other one. Thus, no
* interaction between the two APIs need to be addressed. However, the hardware implementation
* still needs to keep functionality of both in case of shipping with older framework that
* doesn't support 1.1 HAL.
* This API replaces {@link @1.0::IOffloadControl::setDataLimit}, the framework will always
* call setDataWarningAndLimit on 1.1 implementations, and setDataLimit on 1.0 implementations.
* Thus, no interaction between the two APIs need to be addressed.
*
* The specified quota bytes MUST replace any previous quotas set by
* {@code setDataWarningAndLimit} specified on the same interface. It may be interpreted as