From 919043cad9acb9594dd1bb9c9d5691f3dd80e1e5 Mon Sep 17 00:00:00 2001 From: Anthony Restaino Date: Sun, 13 Sep 2015 13:16:23 -0400 Subject: [PATCH] Fixed bug in release builds where event bus events were not being fired --- app/proguard-project.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/proguard-project.txt b/app/proguard-project.txt index 3746342..edc15dc 100644 --- a/app/proguard-project.txt +++ b/app/proguard-project.txt @@ -37,6 +37,12 @@ -keep public class acr.browser.lightning.reading.* -keep class org.lucasr.twowayview.** { *; } +-keepattributes *Annotation* +-keepclassmembers class ** { + @com.squareup.otto.Subscribe public *; + @com.squareup.otto.Produce public *; +} + -assumenosideeffects class android.util.Log { public static *** d(...); public static *** v(...);