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

Commit 6ef3d5b7 authored by Krzysztof Kosiński's avatar Krzysztof Kosiński
Browse files

Add missing API level annotations to constructors.

Fixes errorprone build.

Bug: 190454846
Test: make tradefed-all javac-check -j64 RUN_ERROR_PRONE=true
Change-Id: I2fd2563fc31e6078006e01ab0363dd2269d46539
parent e33ddc73
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ import java.util.Collection;
public class ConnectivityManagerShimImpl
        extends com.android.networkstack.apishim.api30.ConnectivityManagerShimImpl  {

    @RequiresApi(Build.VERSION_CODES.S)
    protected ConnectivityManagerShimImpl(Context context) {
        super(context);
    }
+1 −0
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ import java.util.Set;
@RequiresApi(Build.VERSION_CODES.S)
public class NetworkRequestShimImpl
        extends com.android.networkstack.apishim.api30.NetworkRequestShimImpl {
    @RequiresApi(Build.VERSION_CODES.S)
    protected NetworkRequestShimImpl() {
        super();
    }