Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
9220b18b
authored
Mar 26, 2019
by
eguven
Committed by
Toni
Mar 26, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix parameter order in JobDispatcherScheduler.schedule()
Issue: #5613 PiperOrigin-RevId: 240344666
parent
07e3509d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
extensions/jobdispatcher/src/main/java/com/google/android/exoplayer2/ext/jobdispatcher/JobDispatcherScheduler.java
extensions/jobdispatcher/src/main/java/com/google/android/exoplayer2/ext/jobdispatcher/JobDispatcherScheduler.java
View file @
9220b18b
...
@@ -78,8 +78,8 @@ public final class JobDispatcherScheduler implements Scheduler {
...
@@ -78,8 +78,8 @@ public final class JobDispatcherScheduler implements Scheduler {
}
}
@Override
@Override
public
boolean
schedule
(
Requirements
requirements
,
String
service
Action
,
String
servicePackage
)
{
public
boolean
schedule
(
Requirements
requirements
,
String
service
Package
,
String
serviceAction
)
{
Job
job
=
buildJob
(
jobDispatcher
,
requirements
,
jobTag
,
service
Action
,
servicePackage
);
Job
job
=
buildJob
(
jobDispatcher
,
requirements
,
jobTag
,
service
Package
,
serviceAction
);
int
result
=
jobDispatcher
.
schedule
(
job
);
int
result
=
jobDispatcher
.
schedule
(
job
);
logd
(
"Scheduling job: "
+
jobTag
+
" result: "
+
result
);
logd
(
"Scheduling job: "
+
jobTag
+
" result: "
+
result
);
return
result
==
FirebaseJobDispatcher
.
SCHEDULE_RESULT_SUCCESS
;
return
result
==
FirebaseJobDispatcher
.
SCHEDULE_RESULT_SUCCESS
;
...
@@ -96,8 +96,8 @@ public final class JobDispatcherScheduler implements Scheduler {
...
@@ -96,8 +96,8 @@ public final class JobDispatcherScheduler implements Scheduler {
FirebaseJobDispatcher
dispatcher
,
FirebaseJobDispatcher
dispatcher
,
Requirements
requirements
,
Requirements
requirements
,
String
tag
,
String
tag
,
String
service
Action
,
String
service
Package
,
String
service
Package
)
{
String
service
Action
)
{
Job
.
Builder
builder
=
Job
.
Builder
builder
=
dispatcher
dispatcher
.
newJobBuilder
()
.
newJobBuilder
()
...
...
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