From 83bf6525da84366d53819b6605088cb16fe89b60 Mon Sep 17 00:00:00 2001 From: Manuel Martin Date: Tue, 6 Aug 2019 12:39:56 +0200 Subject: [PATCH] Fixes Gson R8 crash (#1510) * Keep missing state classes * Remove SessionStack as it's not really required --- app/proguard-rules.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index a1c93482e..8aebf0d4f 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -52,7 +52,7 @@ # -------------------------------------------------------------------- -keep class org.mozilla.vrbrowser.ui.widgets.WidgetPlacement {*;} # Keep class used in JNI. -keep class org.mozilla.vrbrowser.ui.widgets.Windows$** {*;} # Keep state clases used by gson. --keep class org.mozilla.browser.engine.SessionStore** {*;} # Keep state clases used by gson. +-keep class org.mozilla.vrbrowser.browser.engine.SessionState$** {*;} # Keep state clases used by gson. # -------------------------------------------------------------------- # Keep classes from HTC SDK