Skip to content

Commit

Permalink
Keep AndroidLeakFixes enum
Browse files Browse the repository at this point in the history
Fixes #1899
  • Loading branch information
pyricau committed Aug 31, 2020
1 parent cbf7e25 commit 0a359f9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion plumber-android/consumer-proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# A ContentProvider that gets created by Android on startup
-keep class leakcanary.internal.PlumberInstaller { <init>(); }
-keep class leakcanary.internal.PlumberInstaller { <init>(); }

# https://www.guardsquare.com/en/products/proguard/manual/examples#enumerations
-keep public enum leakcanary.AndroidLeakFixes {
public static **[] values();
public static ** valueOf(java.lang.String);
}

0 comments on commit 0a359f9

Please sign in to comment.