@Deprecated
  public static int androidApiLevel() {
    @Nullable Integer androidApiLevel = Util.getAndroidApiLevel();
    if (androidApiLevel != null) {
      return androidApiLevel;
    }
    return -1;
  }
Returns the Android API level or -1 if Tink isn't running on Android.

@deprecated Please reimplement this method in your code instead. From within Tink, use {@code
    Util.getAndroidApiLevel} directly.
java_src/src/main/java/com/google/crypto/tink/subtle/SubtleUtil.java