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:
parent
039cc957f4
commit
c2eb4ff0a2
1 changed files with 4 additions and 0 deletions
4
app/k9mail/proguard-rules.pro
vendored
4
app/k9mail/proguard-rules.pro
vendored
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue