Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_youyou
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_youyou
Commits
c1fae1c2
Commit
c1fae1c2
authored
Apr 09, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
限制枫岚
parent
8a54e780
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
build.gradle
app/build.gradle
+2
-2
VideoAdingManager.java
...in/java/com/wenshu/youyou/ad/video/VideoAdingManager.java
+10
-4
No files found.
app/build.gradle
View file @
c1fae1c2
...
...
@@ -9,8 +9,8 @@ android {
applicationId
"com.wenshu.youyou"
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
5
versionName
"1.0.
5
"
versionCode
6
versionName
"1.0.
6
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
app/src/main/java/com/wenshu/youyou/ad/video/VideoAdingManager.java
View file @
c1fae1c2
...
...
@@ -339,14 +339,20 @@ public class VideoAdingManager {
*/
public
boolean
getVideoFinishFlag
()
{
int
csjVideoAdCount
=
AppConfig
.
csjVideoAdCount
;
int
csjFullVedioAdCount
=
AppConfig
.
csjFullVedioAdCount
;
int
ylhAdCount
=
AppConfig
.
ylhAdCount
;
int
wnAdCount
=
AppConfig
.
wnVideoAdCount
;
int
ksVideoAdCount
=
AppConfig
.
ks
VideoAdCount
;
int
flVideoAdCount
=
AppConfig
.
fl
VideoAdCount
;
int
tzVideoAdCount
=
AppConfig
.
shVideoAdCount
;
int
ksVideoAdCount
=
AppConfig
.
ksVideoAdCount
;
int
csjFullVedioAdCount
=
AppConfig
.
csjFullVedioAdCount
;
if
(
ylhAdCount
<=
0
&&
csjVideoAdCount
<=
0
&&
wnAdCount
<=
0
&&
csjFullVedioAdCount
<=
0
&&
ksVideoAdCount
<=
0
&&
tzVideoAdCount
<=
0
)
{
if
(
ylhAdCount
<=
0
&&
csjVideoAdCount
<=
0
&&
wnAdCount
<=
0
&&
flVideoAdCount
<=
0
&&
tzVideoAdCount
<=
0
&&
csjFullVedioAdCount
<=
0
&&
ksVideoAdCount
<=
0
)
{
// showToast("今日视频已看完,请明天再来吧");
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