move some methods around
This commit is contained in:
parent
404a0a28d2
commit
097e72d290
3 changed files with 11 additions and 11 deletions
|
|
@ -53,6 +53,11 @@ public class DownloadService extends Service {
|
|||
return super.onStartCommand(intent, flags, startId);
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBinder onBind(Intent intent) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public void download(Song song) {
|
||||
executor.execute(() -> {
|
||||
try {
|
||||
|
|
@ -103,9 +108,4 @@ public class DownloadService extends Service {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBinder onBind(Intent intent) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue