diff --git a/engine/src/flutter/.cirrus.yml b/engine/src/flutter/.cirrus.yml index 585c265c3e..9dde213d26 100644 --- a/engine/src/flutter/.cirrus.yml +++ b/engine/src/flutter/.cirrus.yml @@ -30,6 +30,8 @@ task: cd $ENGINE_PATH/src ./flutter/tools/gn --android --unoptimized ninja -C out/android_debug_unopt + mkdir javadoc_tmp + ./flutter/tools/gen_javadoc.py --out-dir javadoc_tmp format_and_dart_test_task: container: diff --git a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/PluginRegistry.java b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/PluginRegistry.java index 33f30b300a..7853982e87 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/PluginRegistry.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/plugin/common/PluginRegistry.java @@ -117,21 +117,21 @@ public interface PluginRegistry { /** * Returns the file name for the given asset. * The returned file name can be used to access the asset in the APK - * through the {@link AssetManager} API. + * through the {@link android.content.res.AssetManager} API. * * @param asset the name of the asset. The name can be hierarchical - * @return the filename to be used with {@link AssetManager} + * @return the filename to be used with {@link android.content.res.AssetManager} */ String lookupKeyForAsset(String asset); /** * Returns the file name for the given asset which originates from the * specified packageName. The returned file name can be used to access - * the asset in the APK through the {@link AssetManager} API. + * the asset in the APK through the {@link android.content.res.AssetManager} API. * * @param asset the name of the asset. The name can be hierarchical * @param packageName the name of the package from which the asset originates - * @return the file name to be used with {@link AssetManager} + * @return the file name to be used with {@link android.content.res.AssetManager} */ String lookupKeyForAsset(String asset, String packageName); diff --git a/engine/src/flutter/shell/platform/android/io/flutter/view/FlutterMain.java b/engine/src/flutter/shell/platform/android/io/flutter/view/FlutterMain.java index d59adb4cc9..7594edb33c 100644 --- a/engine/src/flutter/shell/platform/android/io/flutter/view/FlutterMain.java +++ b/engine/src/flutter/shell/platform/android/io/flutter/view/FlutterMain.java @@ -344,10 +344,10 @@ public class FlutterMain { /** * Returns the file name for the given asset. * The returned file name can be used to access the asset in the APK - * through the {@link AssetManager} API. + * through the {@link android.content.res.AssetManager} API. * * @param asset the name of the asset. The name can be hierarchical - * @return the filename to be used with {@link AssetManager} + * @return the filename to be used with {@link android.content.res.AssetManager} */ public static String getLookupKeyForAsset(String asset) { return fromFlutterAssets(asset); @@ -356,11 +356,11 @@ public class FlutterMain { /** * Returns the file name for the given asset which originates from the * specified packageName. The returned file name can be used to access - * the asset in the APK through the {@link AssetManager} API. + * the asset in the APK through the {@link android.content.res.AssetManager} API. * * @param asset the name of the asset. The name can be hierarchical * @param packageName the name of the package from which the asset originates - * @return the file name to be used with {@link AssetManager} + * @return the file name to be used with {@link android.content.res.AssetManager} */ public static String getLookupKeyForAsset(String asset, String packageName) { return getLookupKeyForAsset( diff --git a/engine/src/flutter/tools/gen_javadoc.py b/engine/src/flutter/tools/gen_javadoc.py index 02a0732810..ef02fa9831 100755 --- a/engine/src/flutter/tools/gen_javadoc.py +++ b/engine/src/flutter/tools/gen_javadoc.py @@ -25,8 +25,8 @@ def main(): classpath = [ ANDROID_SRC_ROOT, - 'third_party/android_tools/sdk/extras/android/support/v4/android-support-v4.jar', - 'third_party/android_tools/sdk/platforms/android-22/android.jar', + 'third_party/android_tools/sdk/extras/android/support/v13/android-support-v13.jar', + 'third_party/android_tools/sdk/platforms/android-28/android.jar', 'base/android/java/src', 'third_party/jsr-305/src/ri/src/main/java', ]