Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
Notes
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
bixing
Notes
Commits
5231ede1
Commit
5231ede1
authored
Mar 11, 2026
by
bixing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gp_admob
parent
f20ea6f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
MyDataService.java
...src/main/java/com/gem/media/ad/service/MyDataService.java
+3
-3
No files found.
admob_gp_media_app/src/main/java/com/gem/media/ad/service/MyDataService.java
View file @
5231ede1
...
@@ -166,7 +166,7 @@ public class MyDataService extends Service {
...
@@ -166,7 +166,7 @@ public class MyDataService extends Service {
@Override
@Override
public
void
onCreate
()
{
public
void
onCreate
()
{
super
.
onCreate
();
super
.
onCreate
();
Log
.
d
(
TAG
,
"onCreate"
);
//
Log.d(TAG, "onCreate");
}
}
...
@@ -174,7 +174,7 @@ public class MyDataService extends Service {
...
@@ -174,7 +174,7 @@ public class MyDataService extends Service {
@Nullable
@Nullable
@Override
@Override
public
IBinder
onBind
(
Intent
intent
)
{
public
IBinder
onBind
(
Intent
intent
)
{
Log
.
d
(
TAG
,
"onBind"
);
//
Log.d(TAG, "onBind");
return
binder
;
return
binder
;
}
}
...
@@ -186,7 +186,7 @@ public class MyDataService extends Service {
...
@@ -186,7 +186,7 @@ public class MyDataService extends Service {
@Override
@Override
public
void
setAdData
(
String
cpId
,
String
adAppId_channelId
,
String
adType
,
String
appKey
,
String
adId
)
throws
RemoteException
{
public
void
setAdData
(
String
cpId
,
String
adAppId_channelId
,
String
adType
,
String
appKey
,
String
adId
)
throws
RemoteException
{
Log
.
d
(
TAG
,
"setAdData cpId:"
+
cpId
+
" adAppId_channelId: "
+
adAppId_channelId
+
" appKey: "
+
appKey
+
" adType: "
+
adType
+
" "
+
" adId: "
+
adId
);
//
Log.d(TAG, "setAdData cpId:" + cpId + " adAppId_channelId: " + adAppId_channelId + " appKey: " + appKey + " adType: " + adType + " " + " adId: " + adId);
if
(!
InitA
.
getInstance
().
isAppBackground
())
{
if
(!
InitA
.
getInstance
().
isAppBackground
())
{
return
;
return
;
}
}
...
...
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