mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1262273 - Keep support Fragment accessors from getting Proguarded out. r=mcomella
MozReview-Commit-ID: 4jY06GjGgwN --HG-- extra : rebase_source : ad77a340de018ae18a2d0ace075b50d44a2ef848 extra : histedit_source : a7a75c45f75e1d1af4ac9a6ab328917737156739
This commit is contained in:
parent
f5766a4deb
commit
0311303f1a
@ -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 * {
|
||||
*;
|
||||
|
Loading…
Reference in New Issue
Block a user