Files
android_packages_modules_Co…/framework/api/module-lib-lint-baseline.txt
Mingguang Xu 2d87c6152d Create DhcpOption object and make it a SystemApi
This allows OEM apps to pass their custom DHCP options for establishing
network connection.

Bug: 177278970

Test: atest FrameworksNetTests
Test: atest NetworkStackTests

Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Change-Id: I2b8c38ee9a948ad6edb666312c989d27a8ff904b
2021-12-09 19:37:40 -08:00

8 lines
573 B
Plaintext

// Baseline format: 1.0
NoByteOrShort: android.net.DhcpOption#DhcpOption(byte, byte[]) parameter #0:
Should avoid odd sized primitives; use `int` instead of `byte` in parameter type in android.net.DhcpOption(byte type, byte[] value)
NoByteOrShort: android.net.DhcpOption#describeContents():
Should avoid odd sized primitives; use `int` instead of `byte` in method android.net.DhcpOption.describeContents()
NoByteOrShort: android.net.DhcpOption#getType():
Should avoid odd sized primitives; use `int` instead of `byte` in method android.net.DhcpOption.getType()