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

Commit 5697c323 authored by George Mount's avatar George Mount
Browse files

Fix removeTarget to remove by ID instead of index.

Bug 22043875

Change-Id: I47933343381df7c46580279a864ab03d44c992ec
parent 82e595fd
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;
    }