API review: make exception class and Builder final
- InvalidPacketException exception class should be final - NetworkCapabilities.Builder should be final Bug: 152203926 Test: atest FrameworksNetTests Change-Id: If9b799151aff6d41c9bcd8bb86c65a58e46bad73
This commit is contained in:
parent
1aff262943
commit
4b1aada0aa
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ import java.lang.annotation.RetentionPolicy;
|
|||
* @hide
|
||||
*/
|
||||
@SystemApi
|
||||
public class InvalidPacketException extends Exception {
|
||||
public final class InvalidPacketException extends Exception {
|
||||
private final int mError;
|
||||
|
||||
// Must match SocketKeepalive#ERROR_INVALID_IP_ADDRESS.
|
||||
|
|
|
|||
Loading…
Reference in a new issue