Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afcdfff9 authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN Committed by Automerger Merge Worker
Browse files

Merge "Remove usage of hidden InetSocketAddress constructor" am: 71ef86e0 am: d340bc12

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1625901

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If44709876c213ef752b1dc94ea64f5b4690ff42f
parents b618bb77 d340bc12
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -114,10 +114,10 @@ public final class QosSocketInfo implements Parcelable {
        try {
            return new InetSocketAddress(InetAddress.getByAddress(address), port);
        } catch (final UnknownHostException e) {
            /* The catch block was purposely left empty.  UnknownHostException will never be thrown
            /* This can never happen. UnknownHostException will never be thrown
               since the address provided is numeric and non-null. */
            throw new RuntimeException("UnknownHostException on numeric address", e);
        }
        return new InetSocketAddress();
    }

    @Override