From 116982247994d5091181901dd1223b2bf6488956 Mon Sep 17 00:00:00 2001 From: Christian Sadilek Date: Fri, 5 Jul 2019 15:49:10 -0400 Subject: [PATCH] Closes #3914: Exclude gecko.util.DebugConfig from Proguard optimization --- app/proguard-rules.pro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 9b013d01c..521d5c8a1 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -26,6 +26,11 @@ -dontwarn com.google.** -dontwarn org.mozilla.geckoview.** +# Raptor now writes a *-config.yaml file to specify Gecko runtime settings (e.g. the profile dir). This +# file gets deserialized into a DebugConfig object, which is why we need to keep this class +# and its members. +-keep class org.mozilla.gecko.util.DebugConfig { *; } + #################################################################################################### # Kotlinx ####################################################################################################