OSDN Git Service

Ensure entering and exiting views don't match in Fragment Transitions.
authorGeorge Mount <mount@google.com>
Wed, 9 Sep 2015 23:10:29 +0000 (16:10 -0700)
committerGeorge Mount <mount@google.com>
Thu, 10 Sep 2015 20:54:28 +0000 (13:54 -0700)
commit61f83319292699658bcf4e0e0a4244832e299c84
treed9c26331de6135f7d8e6d00e0cb4954a8450b0bf
parent2fd54a451c13ce65bd2639b0bd9397881371b5c5
Ensure entering and exiting views don't match in Fragment Transitions.

Bug 23693301

An enter or exit transition targeting an ID, name, or similar
would match by the given criteria. This disreguarded that the
exiting view should not match against the entering views, even
if they have the matching criteria.

This excludes the exiting and shared elements from participating in
the enter transition and the enter and shared elements from
participating in the exit transition.

Change-Id: I4007699d2546416008f7a9fcfdb87ff504316577
core/java/android/app/BackStackRecord.java