add: module device
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user