diff --git a/mobile/android/config/proguard/proguard.cfg b/mobile/android/config/proguard/proguard.cfg index b99cf054bfe4..a61b26f364d7 100644 --- a/mobile/android/config/proguard/proguard.cfg +++ b/mobile/android/config/proguard/proguard.cfg @@ -43,6 +43,13 @@ *** get*(); } +# Keep setters in support Fragment so that Robocop tests work, +# specifically testBrowserSearchVisibility. +-keepclassmembers public class * extends android.support.v4.app.Fragment { + void set*(***); + *** get*(); +} + # Preserve enums. (For awful reasons, the runtime accesses them using introspection...) -keepclassmembers enum * { *;