mirror of
https://github.com/github/codeql.git
synced 2025-12-23 20:26:32 +01:00
add onBind to FileService to see if it fixes Java Language Tests failure
This commit is contained in:
@@ -5,6 +5,7 @@ import android.content.Intent;
|
|||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.AsyncTask;
|
import android.os.AsyncTask;
|
||||||
|
import android.os.IBinder;
|
||||||
|
|
||||||
public class FileService extends Service {
|
public class FileService extends Service {
|
||||||
public static String KEY_LOCAL_FILE = "local_file";
|
public static String KEY_LOCAL_FILE = "local_file";
|
||||||
@@ -27,6 +28,11 @@ public class FileService extends Service {
|
|||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public IBinder onBind(Intent intent) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
public class CopyAndUploadContentUrisTask extends AsyncTask<Object, Void, String> {
|
public class CopyAndUploadContentUrisTask extends AsyncTask<Object, Void, String> {
|
||||||
public Object[] makeParamsToExecute(
|
public Object[] makeParamsToExecute(
|
||||||
String sourceUri
|
String sourceUri
|
||||||
|
|||||||
Reference in New Issue
Block a user