Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_fiveworld
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
android
android_fiveworld
Commits
fbd8fb9f
Commit
fbd8fb9f
authored
Nov 12, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
067f34e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
SplashActivity.java
...java/com/mints/fiveworld/ui/activitys/SplashActivity.java
+7
-7
No files found.
app/src/main/java/com/mints/fiveworld/ui/activitys/SplashActivity.java
View file @
fbd8fb9f
...
@@ -346,13 +346,6 @@ public class SplashActivity extends BaseActivity implements SplashView {
...
@@ -346,13 +346,6 @@ public class SplashActivity extends BaseActivity implements SplashView {
@Override
@Override
public
void
onAdDismiss
()
{
public
void
onAdDismiss
()
{
LogUtil
.
d
(
TAG
,
"onAdDismiss"
);
if
(
isBaiduSplashAd
&&
onPaused
&&
baiduSplashAdClicked
)
{
// 这种情况下,百度开屏广告不能在onAdDismiss中跳转,需要在onResume中跳转主页。
return
;
}
goToMainActivity
();
if
(
mTTSplashAd
!=
null
)
{
if
(
mTTSplashAd
!=
null
)
{
AdReportManager
.
INSTANCE
.
eventSplash
(
AdReportManager
.
INSTANCE
.
eventSplash
(
AdReportManager
.
EVENT_TYPE_CLOSE
,
AdReportManager
.
EVENT_TYPE_CLOSE
,
...
@@ -367,6 +360,13 @@ public class SplashActivity extends BaseActivity implements SplashView {
...
@@ -367,6 +360,13 @@ public class SplashActivity extends BaseActivity implements SplashView {
""
""
);
);
}
}
LogUtil
.
d
(
TAG
,
"onAdDismiss"
);
if
(
isBaiduSplashAd
&&
onPaused
&&
baiduSplashAdClicked
)
{
// 这种情况下,百度开屏广告不能在onAdDismiss中跳转,需要在onResume中跳转主页。
return
;
}
goToMainActivity
();
}
}
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment