From 96da8e4c3e110ca6ef961e63a6a019f267a7f9a6 Mon Sep 17 00:00:00 2001 From: Sajal Raj Gautam Date: Wed, 14 Jun 2023 12:42:33 +0530 Subject: [PATCH] Fix miniplayer position in release build (#4002) Upon analysis found below error java.lang.NoSuchMethodException: androidx.constraintlayout.motion.widget.KeyAttributes. Added proguard rules, not able to reproduce the issue with this change. --- app/proguard-rules.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index a168aa319..b6c1bdb45 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -106,3 +106,7 @@ -dontwarn org.conscrypt.** -dontwarn org.bouncycastle.** -dontwarn org.openjsse.** + +# Fix for miniplayer placing issue in release build +-keep class androidx.constraintlayout.motion.widget.** { *; } +-keepclassmembers class androidx.constraintlayout.motion.widget.** { *; }