修复OCH反向来问题

Signed-off-by: 董宏宇 <martindhy@gmail.com>
This commit is contained in:
董宏宇
2021-11-03 20:36:53 +08:00
parent f5f7cc6c9c
commit 26b4fac333
15 changed files with 200 additions and 164 deletions

View File

@@ -244,7 +244,7 @@ public class MogoModulesManager implements MogoModulesHandler {
}
Fragment fragment = mActivity.getSupportFragmentManager().findFragmentByTag( provider.getFunctionName() );
if ( fragment == null ) {
fragment = provider.createCoverage( getContext(), null );
fragment = provider.createCoverage( mActivity, null );
}
if ( fragment == null ) {
Logger.e( TAG, "add fragment fail cause fragment == null, container is %s", ResourcesHelper.getResNameById( getApplicationContext(), containerId ) );