mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
update FileService
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import java.io.FileOutputStream;
|
||||
|
||||
import android.os.IBinder;
|
||||
import android.app.Service;
|
||||
import android.content.Intent;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.os.AsyncTask;
|
||||
import android.os.IBinder;
|
||||
|
||||
public class FileService extends Service {
|
||||
public static String KEY_LOCAL_FILE = "local_file";
|
||||
@@ -28,11 +27,6 @@ public class FileService extends Service {
|
||||
return 2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBinder onBind(Intent intent) {
|
||||
return null;
|
||||
}
|
||||
|
||||
public class CopyAndUploadContentUrisTask extends AsyncTask<Object, Void, String> {
|
||||
public Object[] makeParamsToExecute(
|
||||
String sourceUri
|
||||
@@ -67,4 +61,9 @@ public class FileService extends Service {
|
||||
protected void onProgressUpdate(Void... values) {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBinder onBind(Intent intent) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user