Merge "Add EPROTONOSUPPORT to IpSecManager SSE map"

am: 7050ce9434

Change-Id: I9ab4161e2b04615ce782c89cd9e99d98cdbdc92d
This commit is contained in:
Benedict Wong
2019-04-29 13:35:37 -07:00
committed by android-build-merger

View File

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