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

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

am 57436d3f: Merge "Fix potential NPE in internal isValidTarget method." into mnc-dev

* commit '57436d3f':
  Fix potential NPE in internal isValidTarget method.
parents 621b790d 57436d3f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -792,6 +792,9 @@ public abstract class Transition implements Cloneable {
     * views are ignored and only the ids are used).
     */
    boolean isValidTarget(View target) {
        if (target == null) {
            return false;
        }
        int targetId = target.getId();
        if (mTargetIdExcludes != null && mTargetIdExcludes.contains(targetId)) {
            return false;