summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b5986f4)
If the connection error'd, HttpCallExecutableRunnable would call
callback.onError even if the callback was null. This is fixed now.
conn.disconnect();
} catch (Exception e) {
e.printStackTrace();
conn.disconnect();
} catch (Exception e) {
e.printStackTrace();
- callback.onError(toNonNull(context.getString(connection_error)));
+ if(callback != null)
+ callback.onError(toNonNull(context.getString(connection_error)));