From a4a0b61e93232e7eb02a364cd280b00ef53c598c Mon Sep 17 00:00:00 2001 From: Roger Hu Date: Tue, 19 Jan 2016 23:16:02 -0800 Subject: [PATCH] Fix ProGuard rules for debug builds. --- leakcanary-android/consumer-proguard-rules.pro | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/leakcanary-android/consumer-proguard-rules.pro b/leakcanary-android/consumer-proguard-rules.pro index 741501bb14..00fb0ac22a 100644 --- a/leakcanary-android/consumer-proguard-rules.pro +++ b/leakcanary-android/consumer-proguard-rules.pro @@ -1,5 +1,10 @@ +-dontwarn com.squareup.haha.guava.** +-dontwarn com.squareup.haha.perflib.** +-dontwarn com.squareup.haha.trove.** +-dontwarn com.squareup.leakcanary.** -keep class org.eclipse.mat.** { *; } +-keep class com.squareup.haha.** { *; } -keep class com.squareup.leakcanary.** { *; } # Marshmallow removed Notification.setLatestEventInfo() --dontwarn android.app.Notification \ No newline at end of file +-dontwarn android.app.Notification