Restore ApiFile.parseApi(File, boolean)

A previous change (https://r.android.com/2626050) added an additional
`ApiClassResolution` parameter to the `ApiFile.parseApi(File, boolean)`
method which broke the `com/android/gts/api/ApprovedApis.java` file.

This change adds the missing method back with the same behavior as it
had before.

Bug: 287241408
Test: ./gradlew --rerun-tasks
Change-Id: Ib269de78f361b1b2e9ebc17de15fb3be8f127577
diff --git a/src/main/java/com/android/tools/metalava/model/text/ApiFile.kt b/src/main/java/com/android/tools/metalava/model/text/ApiFile.kt
index 1b7402a..4c1452f 100644
--- a/src/main/java/com/android/tools/metalava/model/text/ApiFile.kt
+++ b/src/main/java/com/android/tools/metalava/model/text/ApiFile.kt
@@ -42,6 +42,21 @@
     /**
      * Same as [.parseApi]}, but take a single file for convenience.
      *
+     * <p>DO NOT MODIFY - used by com/android/gts/api/ApprovedApis.java
+     *
+     * @param file input signature file
+     * @param kotlinStyleNulls if true, we assume the input has a kotlin style nullability markers
+     *   (e.g. "?"). Even if false, we'll allow them if the file format supports them/
+     */
+    @Throws(ApiParseException::class)
+    fun parseApi(
+        @Nonnull file: File,
+        kotlinStyleNulls: Boolean,
+    ) = parseApi(listOf(file), kotlinStyleNulls, ApiClassResolution.API_CLASSPATH)
+
+    /**
+     * Same as [.parseApi]}, but take a single file for convenience.
+     *
      * @param file input signature file
      * @param kotlinStyleNulls if true, we assume the input has a kotlin style nullability markers
      *   (e.g. "?"). Even if false, we'll allow them if the file format supports them/