Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_aiyuebao
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_aiyuebao
Commits
3ddf99ac
Commit
3ddf99ac
authored
Apr 09, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
17b57d6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
VideoAdingManager.java
.../java/com/wenshu/aiyuebao/ad/video/VideoAdingManager.java
+11
-5
No files found.
app/src/main/java/com/wenshu/aiyuebao/ad/video/VideoAdingManager.java
View file @
3ddf99ac
...
@@ -339,14 +339,20 @@ public class VideoAdingManager {
...
@@ -339,14 +339,20 @@ public class VideoAdingManager {
*/
*/
public
boolean
getVideoFinishFlag
()
{
public
boolean
getVideoFinishFlag
()
{
int
csjVideoAdCount
=
AppConfig
.
csjVideoAdCount
;
int
csjVideoAdCount
=
AppConfig
.
csjVideoAdCount
;
int
csjFullVedioAdCount
=
AppConfig
.
csjFullVedioAdCount
;
int
ylhAdCount
=
AppConfig
.
ylhAdCount
;
int
ylhAdCount
=
AppConfig
.
ylhAdCount
;
int
wnAdCount
=
AppConfig
.
wnVideoAdCount
;
int
wnAdCount
=
AppConfig
.
wnVideoAdCount
;
int
ksVideoAdCount
=
AppConfig
.
ks
VideoAdCount
;
int
flVideoAdCount
=
AppConfig
.
fl
VideoAdCount
;
int
tzVideoAdCount
=
AppConfig
.
shVideoAdCount
;
int
tzVideoAdCount
=
AppConfig
.
shVideoAdCount
;
int
ksVideoAdCount
=
AppConfig
.
ksVideoAdCount
;
if
(
ylhAdCount
<=
0
&&
csjVideoAdCount
<=
0
&&
wnAdCount
<=
0
int
csjFullVideoAdCount
=
AppConfig
.
csjFullVedioAdCount
;
&&
csjFullVedioAdCount
<=
0
&&
ksVideoAdCount
<=
0
&&
tzVideoAdCount
<=
0
)
{
if
(
ylhAdCount
<=
0
&&
csjVideoAdCount
<=
0
&&
wnAdCount
<=
0
&&
flVideoAdCount
<=
0
&&
tzVideoAdCount
<=
0
&&
csjFullVideoAdCount
<=
0
&&
ksVideoAdCount
<=
0
)
{
// showToast("今日视频已看完,请明天再来吧");
// showToast("今日视频已看完,请明天再来吧");
return
true
;
return
true
;
}
}
...
...
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