diff options
author | Yohann Roussel <yroussel@google.com> | 2014-04-24 13:19:09 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-04-24 13:19:09 +0000 |
commit | 5bb7b0d3c370c0fb43ae5ce77d4ec328970db697 (patch) | |
tree | 2317953f4a2715c4e91a22731636d7cabf31b1fa /library | |
parent | 1389a05bbd3abcfa37ff85851ec540896e0b07db (diff) | |
parent | dd3cc22f2fbc8ea4dd5fa88978dc8d1ae5034bd9 (diff) | |
download | android_frameworks_multidex-5bb7b0d3c370c0fb43ae5ce77d4ec328970db697.tar.gz android_frameworks_multidex-5bb7b0d3c370c0fb43ae5ce77d4ec328970db697.tar.bz2 android_frameworks_multidex-5bb7b0d3c370c0fb43ae5ce77d4ec328970db697.zip |
Merge "Fix some javadoc in MultiDex."
Diffstat (limited to 'library')
-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 409911d..97c1ddd 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 |