From d327757f07605298e75881ea60f99520382929ba Mon Sep 17 00:00:00 2001 From: weikaiyun Date: Wed, 20 Jan 2021 19:50:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/weikaiyun/fragmentation/TransactionDelegate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fragmentation/src/main/java/com/weikaiyun/fragmentation/TransactionDelegate.java b/fragmentation/src/main/java/com/weikaiyun/fragmentation/TransactionDelegate.java index 105b3ee..2d39404 100644 --- a/fragmentation/src/main/java/com/weikaiyun/fragmentation/TransactionDelegate.java +++ b/fragmentation/src/main/java/com/weikaiyun/fragmentation/TransactionDelegate.java @@ -595,7 +595,7 @@ private void doPopTo(final String targetFragmentTag, boolean includeTargetFragme ft.remove(top); - if (includeTargetFragment && preFragment != null) { + if (includeTargetFragment) { ft.show(preFragment); ft.setMaxLifecycle(preFragment, Lifecycle.State.RESUMED); } else {