Skip to content

Commit

Permalink
Reducing apk size to under 1 MB
Browse files Browse the repository at this point in the history
  • Loading branch information
retanar committed Jan 31, 2021
1 parent 65a62c3 commit 8fc698b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ android {
minSdkVersion 16
targetSdkVersion 30
versionCode 1
versionName "0.4.0"
versionName "0.4.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
resConfigs "en"
}
buildTypes {
release {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ object DivergenceMeter {
}
}

/** Returns new attractor name or null if attractor hasn't been changed */
// Returns new attractor name or null if attractor hasn't been changed
fun checkAttractorChange(oldDiv: Int, newDiv: Int): String? =
with(getAttractor(newDiv)) {
if (oldDiv !in this) this.name
Expand Down
Binary file modified app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ org.gradle.jvmargs=-Xmx1536m
kotlin.code.style=official
android.useAndroidX=true
android.enableJetifier=true
android.enableR8.fullMode=true

0 comments on commit 8fc698b

Please sign in to comment.