Merge "Fix removeTarget to remove by ID instead of index." into mnc-dev

This commit is contained in:
George Mount
2015-06-25 20:55:33 +00:00
committed by Android (Google) Code Review

View File

@@ -1046,7 +1046,7 @@ public abstract class Transition implements Cloneable {
*/
public Transition removeTarget(int targetId) {
if (targetId > 0) {
mTargetIds.remove(targetId);
mTargetIds.remove((Integer)targetId);
}
return this;
}