Skip to content

Commit

Permalink
Merge pull request #63 from Kirlif/isbasemodule
Browse files Browse the repository at this point in the history
fix: determination of the base module
  • Loading branch information
REAndroid authored Mar 20, 2024
2 parents 35a9087 + 645fa70 commit 261e3ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/reandroid/apk/ApkModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ public boolean isBaseModule(){
AndroidManifestBlock manifest;
try {
manifest= getAndroidManifest();
return manifest.getMainActivity()!=null;
return !(manifest.isSplit() || manifest.getMainActivity()==null);
} catch (Exception ignored) {
return false;
}
Expand Down

0 comments on commit 261e3ce

Please sign in to comment.