Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a70b473c authored by Mohammed Althaf T's avatar Mohammed Althaf T 😊
Browse files

Enable minify for keyboard

parent b6053ca1
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -37,7 +37,12 @@ android {
            minifyEnabled false
        }
        release {
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.flags'
            minifyEnabled true
            shrinkResources false // Can't shrink because of dict
            proguardFiles(
                    getDefaultProguardFile('proguard-android-optimize.txt'),
                    rootProject.file('java/proguard.flags')
            )
        }
    }

+8 −0
Original line number Diff line number Diff line
@@ -47,3 +47,11 @@
# TODO: remove once used in code.
-keep class com.android.inputmethod.keyboard.KeyboardLayout { *; }

# Required for framework PreferenceFragment
-keep public class * extends android.preference.PreferenceFragment
-keep public class * extends android.app.Fragment {
    public <init>();
}

# LatinIME settings safety
-keep class com.android.inputmethod.** { *; }