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

Commit dc3e45c5 authored by Anton Hansson's avatar Anton Hansson Committed by Gerrit Code Review
Browse files

Merge "Give IAE for invalid sdk a message"

parents 0ce0c595 70aa04d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ public class SdkExtensions {
     */
    public static int getExtensionVersion(@SdkVersion int sdk) {
        if (sdk < VERSION_CODES.R) {
            throw new IllegalArgumentException();
            throw new IllegalArgumentException(String.valueOf(sdk) + " does not have extensions");
        }
        return R_EXTENSION_INT;
    }