Add proguard rule that allows to further optimize custom views

`View.isInEditMode()` will always be `false` when the app is run on the device.
This commit is contained in:
cketti 2022-12-05 22:19:27 +01:00
parent 039cc957f4
commit c2eb4ff0a2

View file

@ -29,6 +29,10 @@
-dontnote com.fsck.k9.ui.messageview.**
-dontnote com.fsck.k9.view.**
-assumevalues class * extends android.view.View {
boolean isInEditMode() return false;
}
-keep public class org.openintents.openpgp.**
-keepclassmembers class * extends androidx.appcompat.widget.SearchView {