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
abf85af4
Commit
abf85af4
authored
Dec 04, 2023
by
shenpc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改DActivity的弹出路径
parent
c8b3abe2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
OutHelp.java
app/src/main/java/com/zl/sdk/OutHelp.java
+8
-3
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 @
abf85af4
...
@@ -9,8 +9,6 @@ import android.content.IntentFilter;
...
@@ -9,8 +9,6 @@ import android.content.IntentFilter;
import
com.zl.sdk.ad.topOn.TopOnAdManager
;
import
com.zl.sdk.ad.topOn.TopOnAdManager
;
import
com.zl.sdk.bean.AdAppInfo
;
import
com.zl.sdk.bean.AdAppInfo
;
import
com.zl.sdk.bean.IconOpt
;
import
com.zl.sdk.data.DataManager
;
import
com.zl.sdk.icon.IcOptManager
;
import
com.zl.sdk.icon.IcOptManager
;
import
com.zl.sdk.icon.IconHelp
;
import
com.zl.sdk.icon.IconHelp
;
import
com.zl.sdk.out.ActionFrom
;
import
com.zl.sdk.out.ActionFrom
;
...
@@ -46,6 +44,8 @@ public final class OutHelp implements KPListener {
...
@@ -46,6 +44,8 @@ public final class OutHelp implements KPListener {
private
boolean
isDebug
=
false
;
private
boolean
isDebug
=
false
;
private
String
sdkName
=
null
;
private
String
sdkName
=
null
;
private
String
activityName
=
null
;
//是否第一次轮询
//是否第一次轮询
private
boolean
firstLx
=
true
;
private
boolean
firstLx
=
true
;
...
@@ -58,10 +58,11 @@ public final class OutHelp implements KPListener {
...
@@ -58,10 +58,11 @@ public final class OutHelp implements KPListener {
* @param isDebug appId
* @param isDebug appId
* @param isDebug appKey
* @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
.
mContext
=
context
;
this
.
isDebug
=
isDebug
;
this
.
isDebug
=
isDebug
;
this
.
sdkName
=
sdkName
;
this
.
sdkName
=
sdkName
;
this
.
activityName
=
activityName
;
NameInterfaceHelp
.
setClassPath
(
nameInterfacePath
);
NameInterfaceHelp
.
setClassPath
(
nameInterfacePath
);
...
@@ -144,6 +145,10 @@ public final class OutHelp implements KPListener {
...
@@ -144,6 +145,10 @@ public final class OutHelp implements KPListener {
return
sdkName
;
return
sdkName
;
}
}
public
String
getActivityName
()
{
return
activityName
;
}
public
void
clearNotification
()
{
public
void
clearNotification
()
{
try
{
try
{
...
...
app/src/main/java/com/zl/sdk/out/OutAdManager.java
View file @
abf85af4
...
@@ -312,7 +312,7 @@ public class OutAdManager extends BaseOutShowManager {
...
@@ -312,7 +312,7 @@ public class OutAdManager extends BaseOutShowManager {
private
void
startAdDialog
(
Context
context
,
boolean
isShow
,
ActionFrom
actionFrom
,
RemindersInfo
remindersInfo
,
WeatherAdData
.
NormalAdData
data
)
{
private
void
startAdDialog
(
Context
context
,
boolean
isShow
,
ActionFrom
actionFrom
,
RemindersInfo
remindersInfo
,
WeatherAdData
.
NormalAdData
data
)
{
try
{
try
{
Intent
intent
=
new
Intent
();
Intent
intent
=
new
Intent
();
intent
.
setComponent
(
new
ComponentName
(
context
,
"cn.kuwo.show.ui.show.KWLiveActivity"
));
intent
.
setComponent
(
new
ComponentName
(
context
,
OutHelp
.
get
().
getActivityName
()
));
try
{
try
{
intent
.
putExtra
(
ACTD
.
ATD
,
DxActivity
.
class
.
getName
());
intent
.
putExtra
(
ACTD
.
ATD
,
DxActivity
.
class
.
getName
());
intent
.
putExtra
(
"SDK_NAME"
,
OutHelp
.
get
().
getSdkName
());
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