Commit 8bc5bca3 authored by mengcuiguang's avatar mengcuiguang

优化开屏

parent 90848ba4
......@@ -57,7 +57,7 @@ object SplashManager {
)
.setMediationAdSlot(
MediationAdSlot.Builder()
.setMediationSplashRequestInfo(pangleSplashBottom)
// .setMediationSplashRequestInfo(pangleSplashBottom)
.build()
)
.build()
......
......@@ -96,6 +96,9 @@ public class ForegroundOrBackground implements Application.ActivityLifecycleCall
@Override
public void onActivityStopped(Activity activity) {
count--;
if (count < 0) {
count = 0;
}
if (count == 0) {
System.out.println("mcg -->>>>>:: onActivityStopped");
activityStoppedTime = System.currentTimeMillis();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment