Merge remote-tracking branch 'origin/release' into dev

# Conflicts:
#	app/src/main/java/com/gh/common/util/DialogUtils.java
#	app/src/main/java/com/gh/gamecenter/MainActivity.java
#	app/src/main/res/layout/dialog_privacy_policy.xml
#	dependencies.gradle
#	module_common/src/main/java/com/gh/gamecenter/common/utils/PermissionHelper.kt
This commit is contained in:
chenjuntao
2023-12-28 11:53:03 +08:00
34 changed files with 253 additions and 909 deletions

View File

@ -522,22 +522,26 @@ public class MainActivity extends BaseActivity {
float screenWidthInDp = DisplayUtils.px2dip(this, screenWidthInPx);
float screenHeightInDp = DisplayUtils.px2dip(this, screenHeightInPx);
AdDelegateHelper.requestSplashAd(
this,
screenWidthInPx,
screenHeightInPx,
screenWidthInDp,
screenHeightInDp,
startAdContainer,
sdkStartAdContainer,
adsFl,
(BaseHandler) mBaseHandler,
false,
() -> {
hideSplashAd();
return null;
}
);
if (startAdContainer != null && sdkStartAdContainer != null && adsFl != null) {
AdDelegateHelper.requestSplashAd(
this,
screenWidthInPx,
screenHeightInPx,
screenWidthInDp,
screenHeightInDp,
startAdContainer,
sdkStartAdContainer,
adsFl,
(BaseHandler) mBaseHandler,
false,
() -> {
hideSplashAd();
return null;
}
);
} else {
hideSplashAd();
}
} else {
hideSplashAd();
}