From e3e183357c7698ebb536a73c136b88d4298ba126 Mon Sep 17 00:00:00 2001 From: zhangls <664271046@qq.com> Date: Tue, 29 Dec 2015 19:45:53 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=A4=E5=8E=BB=20request.markDelivered();?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 因为request.markDelivered();在mDelivery.postResponse(request, response);已经调用了 --- src/main/java/com/android/volley/NetworkDispatcher.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/android/volley/NetworkDispatcher.java b/src/main/java/com/android/volley/NetworkDispatcher.java index 1775b186..b5712e90 100644 --- a/src/main/java/com/android/volley/NetworkDispatcher.java +++ b/src/main/java/com/android/volley/NetworkDispatcher.java @@ -133,7 +133,6 @@ public void run() { } // Post the response back. - request.markDelivered(); mDelivery.postResponse(request, response); } catch (VolleyError volleyError) { volleyError.setNetworkTimeMs(SystemClock.elapsedRealtime() - startTimeMs);