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
1ddaec50
Commit
1ddaec50
authored
Dec 04, 2023
by
xujialang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
79889eec
abf85af4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
OutHelp.java
app/src/main/java/com/zl/sdk/OutHelp.java
+8
-1
OutAdManager.java
app/src/main/java/com/zl/sdk/out/OutAdManager.java
+1
-1
No files found.
app/src/main/java/com/zl/sdk/OutHelp.java
View file @
1ddaec50
...
...
@@ -44,6 +44,8 @@ public final class OutHelp implements KPListener {
private
boolean
isDebug
=
false
;
private
String
sdkName
=
null
;
private
String
activityName
=
null
;
//是否第一次轮询
private
boolean
firstLx
=
true
;
...
...
@@ -56,10 +58,11 @@ public final class OutHelp implements KPListener {
* @param isDebug appId
* @param isDebug appKey
*/
public
void
init
(
Context
context
,
boolean
isDebug
,
String
appId
,
String
appKey
,
String
sdkName
,
String
nameInterfacePath
)
{
public
void
init
(
Context
context
,
boolean
isDebug
,
String
appId
,
String
appKey
,
String
sdkName
,
String
nameInterfacePath
,
String
activityName
)
{
this
.
mContext
=
context
;
this
.
isDebug
=
isDebug
;
this
.
sdkName
=
sdkName
;
this
.
activityName
=
activityName
;
LogUtil
.
d
(
TAG
+
"初始化 isDebug="
+
isDebug
);
LogUtil
.
d
(
TAG
+
"初始化 appId="
+
appId
);
...
...
@@ -152,6 +155,10 @@ public final class OutHelp implements KPListener {
return
sdkName
;
}
public
String
getActivityName
()
{
return
activityName
;
}
public
void
clearNotification
()
{
try
{
...
...
app/src/main/java/com/zl/sdk/out/OutAdManager.java
View file @
1ddaec50
...
...
@@ -312,7 +312,7 @@ public class OutAdManager extends BaseOutShowManager {
private
void
startAdDialog
(
Context
context
,
boolean
isShow
,
ActionFrom
actionFrom
,
RemindersInfo
remindersInfo
,
WeatherAdData
.
NormalAdData
data
)
{
try
{
Intent
intent
=
new
Intent
();
intent
.
setComponent
(
new
ComponentName
(
context
,
"cn.kuwo.show.ui.show.KWLiveActivity"
));
intent
.
setComponent
(
new
ComponentName
(
context
,
OutHelp
.
get
().
getActivityName
()
));
try
{
intent
.
putExtra
(
ACTD
.
ATD
,
DxActivity
.
class
.
getName
());
intent
.
putExtra
(
"SDK_NAME"
,
OutHelp
.
get
().
getSdkName
());
...
...
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