mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-25 01:20:34 +00:00
Migrate annotation to androidx
release build is failing without this on android studio 3.5.3
This commit is contained in:
parent
c2b1d45fc4
commit
ec1de9824a
@ -13,9 +13,10 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
import javax.annotation.Nonnull;
|
import androidx.annotation.NonNull;
|
||||||
|
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
|
|
||||||
import okhttp3.OkHttpClient;
|
import okhttp3.OkHttpClient;
|
||||||
import okhttp3.RequestBody;
|
import okhttp3.RequestBody;
|
||||||
import okhttp3.ResponseBody;
|
import okhttp3.ResponseBody;
|
||||||
@ -102,7 +103,7 @@ public class DownloaderImpl extends Downloader {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Response execute(@Nonnull Request request) throws IOException, ReCaptchaException {
|
public Response execute(@NonNull Request request) throws IOException, ReCaptchaException {
|
||||||
final String httpMethod = request.httpMethod();
|
final String httpMethod = request.httpMethod();
|
||||||
final String url = request.url();
|
final String url = request.url();
|
||||||
final Map<String, List<String>> headers = request.headers();
|
final Map<String, List<String>> headers = request.headers();
|
||||||
|
@ -13,7 +13,7 @@ import java.io.IOException;
|
|||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
import java.nio.ByteOrder;
|
import java.nio.ByteOrder;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author kapodamy
|
* @author kapodamy
|
||||||
|
Loading…
Reference in New Issue
Block a user