From ac95510bb6a150b43f18319bee4cba226a11d5ab Mon Sep 17 00:00:00 2001 From: Jeff Boek Date: Fri, 15 Nov 2019 17:10:38 -0800 Subject: [PATCH] No Issue - Adds proguard rules for Lifecycle component (#6632) This is a potential fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1596302 --- app/proguard-rules.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 8c3615be9..5131ad636 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -107,4 +107,8 @@ java.lang.String getId(); boolean isLimitAdTrackingEnabled(); } --keep public class com.android.installreferrer.** { *; } \ No newline at end of file +-keep public class com.android.installreferrer.** { *; } + +# Keep Android Lifecycle methods +# https://bugzilla.mozilla.org/show_bug.cgi?id=1596302 +-keep class androidx.lifecycle.** { *; } \ No newline at end of file