集成热更

This commit is contained in:
huangzhuanghua
2016-05-10 15:09:50 +08:00
parent 547d318b4b
commit f394fdacdd
36 changed files with 15845 additions and 108 deletions

View File

@ -22,7 +22,6 @@ import android.util.Log;
import com.android.volley.Cache;
import com.android.volley.VolleyLog;
import com.gh.common.util.TimestampUtils;
import com.gh.common.util.Utils;
import java.io.EOFException;
import java.io.File;
@ -116,7 +115,7 @@ public class DiskBasedCache implements Cache {
// if the entry does not exist, return.
if (entry == null) {
if (key.contains("timestamp")) {
Log.i("result", "get entrey is noll");
Log.i("result", "get entrey is null");
entry = mEntries.get(TimestampUtils.removeTimestamp(key));
if (entry == null){
return null;