Revert "Fix transition return issues when more than 1 level depth"
This reverts commit 6d834d86fb.
Reason for revert: <http://b/159230864 WhatsApp image is visible after existing a chat>
Bug: 159230864
Change-Id: Ib266cff2e06a82ae9a0e85142ef80ae00328a040
This commit is contained in:
@@ -434,8 +434,7 @@ class ExitTransitionCoordinator extends ActivityTransitionCoordinator {
|
||||
mSharedElementNotified = true;
|
||||
delayCancel();
|
||||
|
||||
if (!mActivity.isTopOfTask() || (mIsReturning && !mActivity.isTaskRoot()
|
||||
&& !mSharedElements.isEmpty())) {
|
||||
if (!mActivity.isTopOfTask()) {
|
||||
mResultReceiver.send(MSG_ALLOW_RETURN_TRANSITION, null);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user