@Test @SdkSuppress(maxSdkVersion = Build.VERSION_CODES.O_MR1) public void nonConfigStop() throws Throwable { FragmentActivity activity = FragmentActivityUtils.recreateActivity(mActivityRule, mActivityRule.getActivity()); assertTrue(activity.getSupportFragmentManager().getFragments().isEmpty()); }
List<Fragment> getFragments() { return mFragments; }
FragmentManagerNonConfig { List<Fragment> getFragments() { return mFragments; } }
FragmentManagerNonConfig { List<Fragment> getFragments() { return mFragments; } FragmentManagerNonConfig(List<Fragment> fragments,
            List<FragmentManagerNonConfig> childNonConfigs,
            List<ViewModelStore> viewModelStores); }
FragmentManagerNonConfig { List<Fragment> getFragments() { return mFragments; } FragmentManagerNonConfig(List<Fragment> fragments,
            List<FragmentManagerNonConfig> childNonConfigs,
            List<ViewModelStore> viewModelStores);  }
FragmentManagerNonConfig { List<Fragment> getFragments() { return mFragments; } FragmentManagerNonConfig(List<Fragment> fragments,
            List<FragmentManagerNonConfig> childNonConfigs,
            List<ViewModelStore> viewModelStores);   }