File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
api/src/main/java/io/github/libxposed/api Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,9 @@ default void onModuleLoaded(@NonNull ModuleLoadedParam param) {
111111 * Gets notified when a package is loaded into the app process. This is the time when the default
112112 * classloader is ready but before the instantiation of custom {@link android.app.AppComponentFactory}.<br/>
113113 * This callback could be invoked multiple times for the same process on each package.
114+ * <p>Split apks may cause multiple packages with the same name to be loaded if {@code isolatedSplits="true"}
115+ * is specified in the app's manifest. In this case, the callback will be called multiple times because
116+ * {@link PackageLoadedParam#getDefaultClassLoader()} is different.</p>
114117 *
115118 * @param param Information about the package being loaded
116119 */
@@ -122,6 +125,9 @@ default void onPackageLoaded(@NonNull PackageLoadedParam param) {
122125 * Gets notified when custom {@link android.app.AppComponentFactory} has instantiated the app
123126 * classloader and is ready to create {@link android.app.Activity} and {@link android.app.Service}.<br/>
124127 * This callback could be invoked multiple times for the same process on each package.
128+ * <p>Split apks may cause multiple packages with the same name to be loaded if {@code isolatedSplits="true"}
129+ * is specified in the app's manifest. In this case, the callback will be called multiple times because
130+ * {@link PackageReadyParam#getAppComponentFactory()} and {@link PackageReadyParam#getClassLoader()} are different.</p>
125131 *
126132 * @param param Information about the package being loaded
127133 */
You can’t perform that action at this time.
0 commit comments