Move NetworkState to Connectivity
NetworkState is becoming an internal implementation class, with NetworkStateSnapshot replacing it as a proper API. Considering this it belongs inside Connectivity. Bug: 174123988 Test: m Change-Id: I201f1a07c50d9da31e33f5c207875da8863ef57c
This commit is contained in:
@@ -115,7 +115,8 @@ public class NetworkState implements Parcelable {
|
||||
}
|
||||
|
||||
@UnsupportedAppUsage
|
||||
public static final @android.annotation.NonNull Creator<NetworkState> CREATOR = new Creator<NetworkState>() {
|
||||
@NonNull
|
||||
public static final Creator<NetworkState> CREATOR = new Creator<NetworkState>() {
|
||||
@Override
|
||||
public NetworkState createFromParcel(Parcel in) {
|
||||
return new NetworkState(in);
|
||||
Reference in New Issue
Block a user