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

Commit d9f3aa58 authored by George Mount's avatar George Mount Committed by Android (Google) Code Review
Browse files

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

parents e71c6e38 5697c323
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;
    }