Skip to content

Commit

Permalink
chore: revert: use embedded dex
Browse files Browse the repository at this point in the history
  • Loading branch information
cinit committed Sep 28, 2024
1 parent 0e67457 commit 96c5f76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ android {
keepDebugSymbols += "**/*.so"
}
}
// use embedded dex
packagingOptions.dex.useLegacyPackaging = false
// not use embedded dex
packagingOptions.dex.useLegacyPackaging = true
}

kotlin {
Expand Down Expand Up @@ -442,9 +442,6 @@ val synthesizeDistReleaseApksCI by tasks.registering {
// will there be any 16k-page-size devices supporting 32-bit abi?
return 4096
}
} else if (path.endsWith(".dex")) {
// for useEmbeddedDex. it unclear that whether 4k or 16k is required on a 16k-page-size device
return 4096
} else {
// no alignment for other files
return AlignmentRule.NO_ALIGNMENT
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
android:resizeableActivity="true"
android:description="@string/xposeddescription"
android:theme="@style/AppTheme.Def"
android:vmSafeMode="true"
android:useEmbeddedDex="true"
android:vmSafeMode="false"
android:useEmbeddedDex="false"
tools:ignore="AllowBackup,GoogleAppIndexingWarning,UnusedAttribute">
<activity
android:exported="true"
Expand Down

0 comments on commit 96c5f76

Please sign in to comment.