Skip to content

Commit

Permalink
Update RequestManager.java
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanshenbin authored Jul 10, 2023
1 parent 252fd64 commit dbd179f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ public void onSucceed(int what, Response<T> response) {
@Override
public void onFailed(int what, Response<T> response) {
if (l != null) {
l.onResponseState(new ResponseModel(ResponseEnum.失败, response.getException(),response.getHeaders()!=null response.getHeaders().toResponseHeaders() : new HashMap<String,List<String>>()));
l.onResponseState(new ResponseModel(ResponseEnum.失败, response.getException(),response.getHeaders()!=null ? response.getHeaders().toResponseHeaders() : new HashMap<String,List<String>>()));
l.onFailed(response.getException());
}
DeviceBandwidthSampler.getInstance().stopSampling();
Expand Down

0 comments on commit dbd179f

Please sign in to comment.