Loading wifi/java/android/net/wifi/WifiInfo.java +2 −2 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ import android.annotation.Nullable; import android.annotation.SystemApi; import android.annotation.UnsupportedAppUsage; import android.net.NetworkInfo.DetailedState; import android.net.NetworkUtils; import android.net.shared.Inet4AddressUtils; import android.os.Build; import android.os.Parcel; import android.os.Parcelable; Loading Loading @@ -708,7 +708,7 @@ public class WifiInfo implements Parcelable { public int getIpAddress() { int result = 0; if (mIpAddress instanceof Inet4Address) { result = NetworkUtils.inetAddressToInt((Inet4Address)mIpAddress); result = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) mIpAddress); } return result; } Loading Loading
wifi/java/android/net/wifi/WifiInfo.java +2 −2 Original line number Diff line number Diff line Loading @@ -21,7 +21,7 @@ import android.annotation.Nullable; import android.annotation.SystemApi; import android.annotation.UnsupportedAppUsage; import android.net.NetworkInfo.DetailedState; import android.net.NetworkUtils; import android.net.shared.Inet4AddressUtils; import android.os.Build; import android.os.Parcel; import android.os.Parcelable; Loading Loading @@ -708,7 +708,7 @@ public class WifiInfo implements Parcelable { public int getIpAddress() { int result = 0; if (mIpAddress instanceof Inet4Address) { result = NetworkUtils.inetAddressToInt((Inet4Address)mIpAddress); result = Inet4AddressUtils.inet4AddressToIntHTL((Inet4Address) mIpAddress); } return result; } Loading