()
| 34 | res = new UploadResult(); |
| 35 | new Thread(new Runnable() { |
| 36 | @Override |
| 37 | public void run() { |
| 38 | try { |
| 39 | upload(mParams, res); |
| 40 | mParams.onUploadComplete.onUploadComplete(res); |
| 41 | } catch (Exception e) { |
| 42 | res.exception = e; |
| 43 | mParams.onUploadComplete.onUploadComplete(res); |
| 44 | } |
| 45 | } |
| 46 | }).start(); |
| 47 | return res; |
| 48 | } |
nothing calls this directly
no test coverage detected