From f8d624d097584900db018270c8dc52024c6741cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B6=9B?= Date: Mon, 20 Jul 2020 12:02:13 +0800 Subject: [PATCH] android:remove invalid null check --- .../doric/src/main/java/pub/doric/DoricPanelFragment.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/doric-android/doric/src/main/java/pub/doric/DoricPanelFragment.java b/doric-android/doric/src/main/java/pub/doric/DoricPanelFragment.java index 2ed4e573..34f2dd99 100644 --- a/doric-android/doric/src/main/java/pub/doric/DoricPanelFragment.java +++ b/doric-android/doric/src/main/java/pub/doric/DoricPanelFragment.java @@ -100,9 +100,7 @@ public class DoricPanelFragment extends Fragment implements IDoricNavigator { } NavController navController = getNavController(); if (navController != null && navController.popBackStack()) { - if (getActivity() != null) { getActivity().finish(); - } } }