Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4483164a authored by George Mount's avatar George Mount Committed by Android Git Automerger
Browse files

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

* commit 'd9f3aa58':
  Fix removeTarget to remove by ID instead of index.
parents 0049338b d9f3aa58
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
    }