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

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

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

* commit 'c441dca2':
  Fix potential NPE in internal isValidTarget method.
parents 123bbd5a c441dca2
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;