Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 84403635 authored by dependabot[bot]'s avatar dependabot[bot] Committed by Unpublished
Browse files
parent 28e58103
Loading
Loading
Loading
Loading
+0 −9
Original line number Original line Diff line number Diff line
@@ -12,15 +12,6 @@ updates:
  - 2. to review
  - 2. to review
  - dependencies
  - dependencies
  ignore:
  ignore:
  - dependency-name: com.squareup.okhttp3:okhttp
    versions:
    - ">= 3.13.a"
    - "< 3.14"
  - dependency-name: com.squareup.okhttp3:okhttp
    versions:
    - ">= 3.14.a"
    - "< 3.15"
  - dependency-name: com.squareup.okhttp3:okhttp
  - dependency-name: com.squareup.okhttp3:okhttp
    versions:
    versions:
    - ">= 4.a"
    - ">= 4.a"
    - "< 5"
+3 −7
Original line number Original line Diff line number Diff line
@@ -48,7 +48,7 @@ android {
    compileSdkVersion 29
    compileSdkVersion 29
    buildToolsVersion "29.0.3"
    buildToolsVersion "29.0.3"
    defaultConfig {
    defaultConfig {
        minSdkVersion 14
        minSdkVersion 21
        targetSdkVersion 29
        targetSdkVersion 29
        versionCode 1
        versionCode 1
        versionName '1.0'
        versionName '1.0'
@@ -139,12 +139,8 @@ dependencies {


    implementation 'commons-io:commons-io:2.8.0'
    implementation 'commons-io:commons-io:2.8.0'


    implementation ('com.squareup.retrofit2:retrofit:2.6.4') {
    implementation 'com.squareup.retrofit2:retrofit:2.9.0'
        because '2.7.0 requires okhttp:3.14.x which requires API level 19'
    implementation 'com.squareup.okhttp3:okhttp:3.12.12'
    }
    implementation ('com.squareup.okhttp3:okhttp:3.12.12') {
        because '3.13+ requires Lollipop, but our minSdkVersion is 14'
    }


    spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.11.0'
    spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.11.0'
    spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.7'
    spotbugsPlugins 'com.mebigfatguy.fb-contrib:fb-contrib:7.4.7'
+0 −4
Original line number Original line Diff line number Diff line
@@ -45,12 +45,10 @@ public class BufferedSourceSSO implements BufferedSource {
        throw new UnsupportedOperationException("Not implemented");
        throw new UnsupportedOperationException("Not implemented");
    }
    }


    /*
    @Override
    @Override
    public Buffer getBuffer() {
    public Buffer getBuffer() {
        return buffer();
        return buffer();
    }
    }
    */


    @Override
    @Override
    public boolean exhausted() throws IOException {
    public boolean exhausted() throws IOException {
@@ -253,12 +251,10 @@ public class BufferedSourceSSO implements BufferedSource {
        throw new UnsupportedOperationException("Not implemented");
        throw new UnsupportedOperationException("Not implemented");
    }
    }


    /*
    @Override
    @Override
    public BufferedSource peek() {
    public BufferedSource peek() {
        throw new UnsupportedOperationException("Not implemented");
        throw new UnsupportedOperationException("Not implemented");
    }
    }
    */


    @Override
    @Override
    public InputStream inputStream() {
    public InputStream inputStream() {
+11 −0
Original line number Original line Diff line number Diff line
@@ -13,6 +13,7 @@ import okhttp3.Protocol;
import okhttp3.Request;
import okhttp3.Request;
import okhttp3.ResponseBody;
import okhttp3.ResponseBody;
import okio.BufferedSource;
import okio.BufferedSource;
import okio.Timeout;
import retrofit2.Call;
import retrofit2.Call;
import retrofit2.Callback;
import retrofit2.Callback;
import retrofit2.Response;
import retrofit2.Response;
@@ -102,6 +103,11 @@ public final class Retrofit2Helper {
                throw new UnsupportedOperationException("Not implemented");
                throw new UnsupportedOperationException("Not implemented");
            }
            }


            @Override
            public Timeout timeout() {
                throw new UnsupportedOperationException("Not implemented");
            }

            private Response<T> convertExceptionToResponse(int statusCode, String errorMessage) {
            private Response<T> convertExceptionToResponse(int statusCode, String errorMessage) {
                ResponseBody body = ResponseBody.create(null, errorMessage);
                ResponseBody body = ResponseBody.create(null, errorMessage);
                return Response.error(
                return Response.error(
@@ -167,6 +173,11 @@ public final class Retrofit2Helper {
            public Request request() {
            public Request request() {
                throw new UnsupportedOperationException("Not implemented");
                throw new UnsupportedOperationException("Not implemented");
            }
            }

            @Override
            public Timeout timeout() {
                throw new UnsupportedOperationException("Not implemented");
            }
        };
        };


    }
    }