Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 6f68a9a

Browse files
MortimerGorobluemarvin
authored andcommitted
Keep classes used by gson (#1501)
1 parent b4fe813 commit 6f68a9a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

app/proguard-rules.pro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
# --------------------------------------------------------------------
5151
# Keep classes from FxR
5252
# --------------------------------------------------------------------
53-
-keep class org.mozilla.vrbrowser.ui.widgets.WidgetPlacement {*;}
53+
-keep class org.mozilla.vrbrowser.ui.widgets.WidgetPlacement {*;} # Keep class used in JNI.
54+
-keep class org.mozilla.vrbrowser.ui.widgets.Windows$** {*;} # Keep state clases used by gson.
55+
-keep class org.mozilla.browser.engine.SessionStore** {*;} # Keep state clases used by gson.
5456

5557
# --------------------------------------------------------------------
5658
# Keep classes from HTC SDK

0 commit comments

Comments
 (0)