Skip to content

Commit 2b3a579

Browse files
authored
Fix sending videos in API <= 30 (#5186)
This is caused by a bug in the Media3 Transform library: androidx/media#2535
1 parent 64072f0 commit 2b3a579

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/proguard-rules.pro

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,12 @@
4242
}
4343

4444
-keep class io.element.android.x.di.** { *; }
45+
46+
47+
# Keep LogSessionId class and related classes (https://github.com/androidx/media/issues/2535)
48+
-keep class android.media.metrics.LogSessionId { *; }
49+
-keep class android.media.metrics.** { *; }
50+
51+
# Keep Media3 classes that use reflection (https://github.com/androidx/media/issues/2535)
52+
-keep class androidx.media3.** { *; }
53+
-dontwarn android.media.metrics.**

0 commit comments

Comments
 (0)