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

am: 7a2cf07c8d

Change-Id: Iabb278381ed66d7423ad374a717b0b5a41d39846
This commit is contained in:
Benedict Wong
2019-04-29 17:41:49 -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);
}
}