Merge "Add EPROTONOSUPPORT to IpSecManager SSE map" into qt-dev

This commit is contained in:
Lorenzo Colitti
2019-05-08 09:20:09 +00:00
committed by Android (Google) Code Review

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);
}
}