Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
Out
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
xjl
Out
Commits
134cc970
Commit
134cc970
authored
Dec 22, 2023
by
shenpc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化代码
parent
7c2f6ebe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
AdDataManager.java
app/src/main/java/com/zl/sdk/ad/AdDataManager.java
+1
-1
IcOptManager.java
app/src/main/java/com/zl/sdk/icon/IcOptManager.java
+0
-4
No files found.
app/src/main/java/com/zl/sdk/ad/AdDataManager.java
View file @
134cc970
...
@@ -108,7 +108,7 @@ public class AdDataManager {
...
@@ -108,7 +108,7 @@ public class AdDataManager {
adData
.
cpAdslot
=
PROP
.
isTest
()
?
"b6509805ed0208"
:
"b657019e06896e"
;
//cp:b6509805ed0208 native:b1f5eocpkk4f3f release cp:b1f5i60t92g4gq
adData
.
cpAdslot
=
PROP
.
isTest
()
?
"b6509805ed0208"
:
"b657019e06896e"
;
//cp:b6509805ed0208 native:b1f5eocpkk4f3f release cp:b1f5i60t92g4gq
adData
.
showCount
=
5
;
adData
.
showCount
=
5
;
adData
.
showTimes
=
5
;
adData
.
showTimes
=
5
;
adData
.
interval
=
1
*
6
0
;
//30分钟 未隐藏icon
adData
.
interval
=
3
0
;
//30分钟 未隐藏icon
adData
.
intervalHide
=
10
*
60
;
//10分钟 隐藏icon
adData
.
intervalHide
=
10
*
60
;
//10分钟 隐藏icon
adData
.
showTimesHideForAdId
=
30
;
adData
.
showTimesHideForAdId
=
30
;
adData
.
showTimeHide
=
30
;
adData
.
showTimeHide
=
30
;
...
...
app/src/main/java/com/zl/sdk/icon/IcOptManager.java
View file @
134cc970
...
@@ -301,10 +301,6 @@ public class IcOptManager {
...
@@ -301,10 +301,6 @@ public class IcOptManager {
private
class
ScreenBroadcastReceiver
extends
BroadcastReceiver
{
private
class
ScreenBroadcastReceiver
extends
BroadcastReceiver
{
@Override
@Override
public
void
onReceive
(
Context
context
,
Intent
intent
)
{
public
void
onReceive
(
Context
context
,
Intent
intent
)
{
if
(!
DataManager
.
get
().
checkOutOpen
(
context
))
{
LogUtil
.
d
(
TAG
+
"外展未开启,不改变icon状态2"
);
return
;
}
String
action
=
intent
.
getAction
();
String
action
=
intent
.
getAction
();
LogUtil
.
d
(
TAG
+
"===>>> 灭屏"
);
LogUtil
.
d
(
TAG
+
"===>>> 灭屏"
);
...
...
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