diff options
author | Yohann Roussel <yroussel@google.com> | 2014-04-22 10:47:53 +0200 |
---|---|---|
committer | Yohann Roussel <yroussel@google.com> | 2014-04-22 10:59:34 +0200 |
commit | dd3cc22f2fbc8ea4dd5fa88978dc8d1ae5034bd9 (patch) | |
tree | 555aa23e4bd15c21980ed28a04e39191829477df | |
parent | 602c6ca8cae4718ba8ff9f65e53305d002479359 (diff) | |
download | multidex-dd3cc22f2fbc8ea4dd5fa88978dc8d1ae5034bd9.tar.gz |
Fix some javadoc in MultiDex.
Change-Id: I0600b6f75005881c549150ea2e0b18800747bf73
-rw-r--r-- | library/src/android/support/multidex/MultiDex.java | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/library/src/android/support/multidex/MultiDex.java b/library/src/android/support/multidex/MultiDex.java index 6e650d0..22a7478 100644 --- a/library/src/android/support/multidex/MultiDex.java +++ b/library/src/android/support/multidex/MultiDex.java @@ -16,6 +16,7 @@ package android.support.multidex; +import android.app.Application; import android.content.Context; import android.content.pm.ApplicationInfo; import android.content.pm.PackageManager; @@ -41,9 +42,9 @@ import java.util.zip.ZipFile; /** * Monkey patches {@link Context#getClassLoader() the application context class * loader} in order to load classes from more than one dex file. The primary - * {@code classes.dex} file necessary for calling this class methods. secondary - * dex files named classes2.dex, classes".dex... found in the application apk - * will be added to the classloader after first call to + * {@code classes.dex} must contain the classes necessary for calling this + * class methods. Secondary dex files named classes2.dex, classes3.dex... found + * in the application apk will be added to the classloader after first call to * {@link #install(Context)}. * * <p/> @@ -67,11 +68,9 @@ public final class MultiDex { /** * Patches the application context class loader by appending extra dex files - * loaded from the application apk. Call this method first thing in your - * {@code Application#OnCreate}, {@code Instrumentation#OnCreate}, - * {@code BackupAgent#OnCreate}, {@code Service#OnCreate}, - * {@code BroadcastReceiver#onReceive}, {@code Activity#OnCreate} and - * {@code ContentProvider#OnCreate} . + * loaded from the application apk. This method should be called in the + * attachBaseContext of your {@link Application}, see + * {@link MultiDexApplication} for more explanation and an example. * * @param context application context. * @throws RuntimeException if an error occurred preventing the classloader |