From ca94414e5187fd0da63c53ecb9e6dd3af88ab006 Mon Sep 17 00:00:00 2001 From: Andrew Gunnerson Date: Sat, 14 Feb 2026 20:58:07 -0500 Subject: [PATCH] Enable proguard obfuscation Previously, this was disabled because the app is open source and there is no need to mask information in stack traces. However, optimizations in recent r8 versions make the stack traces quite useless anyway, even without obfuscation. Given that, let's switch back to the default behavior so that at least we can take advantage of smaller APK sizes. The mapping files will be published alongside official releases so that anyone can decode stacktraces from logs without needing a debug build. Signed-off-by: Andrew Gunnerson --- app/proguard-rules.pro | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index d2152a6..6b361fa 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -12,18 +12,6 @@ # public *; #} -# Uncomment this to preserve the line number information for -# debugging stack traces. --keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile - -# Disable obfuscation completely for AlterInstaller. As an open source project, -# shrinking is the only goal of minification. --dontobfuscate - # Keep standalone CLI utilities -keep class com.chiller3.alterinstaller.* { *;