merge commits

This commit is contained in:
hyb1996
2017-12-03 14:17:18 +08:00
18 changed files with 396 additions and 41 deletions

View File

@@ -56,7 +56,7 @@ public class IntentExtras implements Serializable {
@SuppressWarnings("unchecked")
public <T> T getAndClear(String key) {
T value = (T) mMap.get(key);
clear();
recycle();
return value;
}
@@ -70,7 +70,7 @@ public class IntentExtras implements Serializable {
return intent;
}
public void clear() {
public void recycle() {
extraStore.remove(mId);
mMap = null;
}