Skip to content

Commit c54533a

Browse files
authored
Merge pull request #2697 from embrace-io/hho/7.9.3-cp
Call the correct method in the single param openConnection overload (…
2 parents 3851375 + 720297a commit c54533a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embrace-android-sdk/src/main/java/io/embrace/android/embracesdk/internal/network/http/StreamHandlerFactoryInstaller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ protected URLConnection openConnection(URL url, Proxy proxy) {
167167
protected URLConnection openConnection(URL url) {
168168
try {
169169
Method method =
170-
findDeclaredMethod(parentHandler, parentHandler.getClass(), METHOD_NAME_OPEN_CONNECTION, URL.class, Proxy.class);
170+
findDeclaredMethod(parentHandler, parentHandler.getClass(), METHOD_NAME_OPEN_CONNECTION, URL.class);
171171
method.setAccessible(true);
172172
URLConnection parentConnection = (URLConnection) method.invoke(parentHandler, url);
173173
return wrapConnection(parentConnection);

0 commit comments

Comments
 (0)