Merge "Add EPROTONOSUPPORT to IpSecManager SSE map" am: 7050ce9434

am: 533559234e

Change-Id: I23e0b56529b9df23558002ddb9e6210d711228cf
This commit is contained in:
Benedict Wong
2019-04-29 14:16:30 -07:00
committed by android-build-merger

View File

@@ -947,7 +947,8 @@ public final class IpSecManager {
throw new IllegalArgumentException(sse);
} else if (sse.errorCode == OsConstants.EAGAIN) {
throw new IllegalStateException(sse);
} else if (sse.errorCode == OsConstants.EOPNOTSUPP) {
} else if (sse.errorCode == OsConstants.EOPNOTSUPP
|| sse.errorCode == OsConstants.EPROTONOSUPPORT) {
throw new UnsupportedOperationException(sse);
}
}