All Parcelable CREATOR fields are @NonNull.
If they were null, then the Parcelable would fail to work. Bug: 126726802 Test: manual Change-Id: I7929ffa2f20e5de1c8e68e8263cca99496e9d014 Exempt-From-Owner-Approval: Trivial API annotations
This commit is contained in:
parent
3f297f17e9
commit
f8525286b4
1 changed files with 20 additions and 20 deletions
|
|
@ -54,7 +54,7 @@ public final class ConnectionInfo implements Parcelable {
|
|||
out.writeInt(remote.getPort());
|
||||
}
|
||||
|
||||
public static final Creator<ConnectionInfo> CREATOR = new Creator<ConnectionInfo>() {
|
||||
public static final @android.annotation.NonNull Creator<ConnectionInfo> CREATOR = new Creator<ConnectionInfo>() {
|
||||
public ConnectionInfo createFromParcel(Parcel in) {
|
||||
int protocol = in.readInt();
|
||||
InetAddress localAddress;
|
||||
|
|
|
|||
Loading…
Reference in a new issue