Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_flowbox
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_flowbox
Commits
ac85446d
Commit
ac85446d
authored
Jul 30, 2021
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码
parent
dacc956c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
AppOutScreenGroMoreCarrierExpressManager.kt
...ts/flowbox/ad/AppOutScreenGroMoreCarrierExpressManager.kt
+2
-1
AppOutSimpleGroMoreCarrierExpressManager.kt
...ts/flowbox/ad/AppOutSimpleGroMoreCarrierExpressManager.kt
+2
-3
No files found.
app/src/main/java/com/mints/flowbox/ad/AppOutScreenGroMoreCarrierExpressManager.kt
View file @
ac85446d
...
@@ -13,6 +13,7 @@ import com.bytedance.msdk.api.nativeAd.*
...
@@ -13,6 +13,7 @@ import com.bytedance.msdk.api.nativeAd.*
import
com.mints.flowbox.MintsApplication
import
com.mints.flowbox.MintsApplication
import
com.mints.flowbox.R
import
com.mints.flowbox.R
import
com.mints.flowbox.common.Constant
import
com.mints.flowbox.common.Constant
import
com.mints.flowbox.keepalive.appswitch.AntiAuditManager
import
com.mints.flowbox.manager.CsjGroMoreManager
import
com.mints.flowbox.manager.CsjGroMoreManager
import
com.mints.flowbox.manager.TrackManager
import
com.mints.flowbox.manager.TrackManager
import
com.mints.flowbox.ui.widgets.seekbar.BubbleUtils
import
com.mints.flowbox.ui.widgets.seekbar.BubbleUtils
...
@@ -47,7 +48,7 @@ class AppOutScreenGroMoreCarrierExpressManager : TTSettingConfigCallback {
...
@@ -47,7 +48,7 @@ class AppOutScreenGroMoreCarrierExpressManager : TTSettingConfigCallback {
private
var
mTTAdNative
:
TTUnifiedNativeAd
?
=
null
private
var
mTTAdNative
:
TTUnifiedNativeAd
?
=
null
fun
loadADFrameLayout
()
{
fun
loadADFrameLayout
()
{
if
(
AntiShake
.
check
(
Random
.
nextInt
(
1234
)))
return
if
(
AntiShake
.
check
(
Random
.
nextInt
(
1234
))
||
AntiAuditManager
.
instance
.
isBlack
()
)
return
val
isOversped
=
TimeRender
.
isOversped45Min
(
adLoadTime
,
45
)
val
isOversped
=
TimeRender
.
isOversped45Min
(
adLoadTime
,
45
)
val
isPreingOversped
=
TimeRender
.
isOversped45Min
(
adPreingTime
,
2
)
val
isPreingOversped
=
TimeRender
.
isOversped45Min
(
adPreingTime
,
2
)
...
...
app/src/main/java/com/mints/flowbox/ad/AppOutSimpleGroMoreCarrierExpressManager.kt
View file @
ac85446d
package
com.mints.flowbox.ad
package
com.mints.flowbox.ad
import
android.os.Handler
import
android.os.Looper
import
android.text.TextUtils
import
android.text.TextUtils
import
android.view.Gravity
import
android.view.Gravity
import
android.view.LayoutInflater
import
android.view.LayoutInflater
...
@@ -15,6 +13,7 @@ import com.bytedance.msdk.api.nativeAd.*
...
@@ -15,6 +13,7 @@ import com.bytedance.msdk.api.nativeAd.*
import
com.mints.flowbox.MintsApplication
import
com.mints.flowbox.MintsApplication
import
com.mints.flowbox.R
import
com.mints.flowbox.R
import
com.mints.flowbox.common.Constant
import
com.mints.flowbox.common.Constant
import
com.mints.flowbox.keepalive.appswitch.AntiAuditManager
import
com.mints.flowbox.manager.CsjGroMoreManager
import
com.mints.flowbox.manager.CsjGroMoreManager
import
com.mints.flowbox.manager.TrackManager
import
com.mints.flowbox.manager.TrackManager
import
com.mints.flowbox.ui.widgets.seekbar.BubbleUtils
import
com.mints.flowbox.ui.widgets.seekbar.BubbleUtils
...
@@ -49,7 +48,7 @@ class AppOutSimpleGroMoreCarrierExpressManager : TTSettingConfigCallback {
...
@@ -49,7 +48,7 @@ class AppOutSimpleGroMoreCarrierExpressManager : TTSettingConfigCallback {
private
var
mTTAdNative
:
TTUnifiedNativeAd
?
=
null
private
var
mTTAdNative
:
TTUnifiedNativeAd
?
=
null
fun
loadADFrameLayout
()
{
fun
loadADFrameLayout
()
{
if
(
AntiShake
.
check
(
Random
.
nextInt
(
1234
)))
return
if
(
AntiShake
.
check
(
Random
.
nextInt
(
1234
))
||
AntiAuditManager
.
instance
.
isBlack
()
)
return
val
isOversped
=
TimeRender
.
isOversped45Min
(
adLoadTime
,
45
)
val
isOversped
=
TimeRender
.
isOversped45Min
(
adLoadTime
,
45
)
val
isPreingOversped
=
TimeRender
.
isOversped45Min
(
adPreingTime
,
2
)
val
isPreingOversped
=
TimeRender
.
isOversped45Min
(
adPreingTime
,
2
)
...
...
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