Skip to content

Commit 3a8a0ea

Browse files
authored
Remove keep rules mentioning kotlinx.coroutines.android from core module (#2061)
The rule -keepnames class kotlinx.coroutines.android.AndroidDispatcherFactory {} is present in kotlinx.coroutines.android/META-INF/proguard/coroutines.pro and should therefore is not needed.
1 parent 6391089 commit 3a8a0ea

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
# ServiceLoader support
22
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
33
-keepnames class kotlinx.coroutines.CoroutineExceptionHandler {}
4-
-keepnames class kotlinx.coroutines.android.AndroidExceptionPreHandler {}
5-
-keepnames class kotlinx.coroutines.android.AndroidDispatcherFactory {}
64

75
# Most of volatile fields are updated with AFU and should not be mangled
86
-keepclassmembernames class kotlinx.** {
@@ -12,4 +10,5 @@
1210
# Same story for the standard library's SafeContinuation that also uses AtomicReferenceFieldUpdater
1311
-keepclassmembernames class kotlin.coroutines.SafeContinuation {
1412
volatile <fields>;
15-
}
13+
}
14+

0 commit comments

Comments
 (0)