Fix javadoc for Android-28 (flutter/engine#7254)

* Fix javadoc for Android-28

* build javadoc as part of pre-submit
This commit is contained in:
Dan Field
2018-12-19 09:24:02 -08:00
committed by GitHub
parent ee6078eead
commit e12c087f9e
4 changed files with 12 additions and 10 deletions

View File

@@ -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:

View File

@@ -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);

View File

@@ -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(

View File

@@ -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',
]