For #4064: Dispatchers.Main still has long cold start delay (Phase II)
parent
c475bc87cf
commit
48be48d1b8
|
@ -37,10 +37,24 @@
|
|||
|
||||
-keep class kotlinx.coroutines.internal.MainDispatcherFactory {}
|
||||
-keep class kotlinx.coroutines.CoroutineExceptionHandler {}
|
||||
-keepnames class kotlinx.coroutines.android.AndroidExceptionPreHandler {}
|
||||
-keepnames class kotlinx.coroutines.android.AndroidDispatcherFactory {}
|
||||
-keepclassmembernames class kotlinx.** {
|
||||
volatile <fields>;
|
||||
}
|
||||
|
||||
|
||||
####################################################################################################
|
||||
# Force removal of slow Dispatchers.Main ServiceLoader
|
||||
#
|
||||
# Please remove these rules when Android Gradle Plugin 3.6+ & coroutines 1.3.0+ are both in use
|
||||
####################################################################################################
|
||||
# Ensure the custom, fast service loader implementation is removed.
|
||||
-assumevalues class kotlinx.coroutines.internal.MainDispatcherLoader {
|
||||
boolean FAST_SERVICE_LOADER_ENABLED return false;
|
||||
}
|
||||
-checkdiscard class kotlinx.coroutines.internal.FastServiceLoader
|
||||
|
||||
####################################################################################################
|
||||
# Mozilla Application Services
|
||||
####################################################################################################
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
object Versions {
|
||||
const val kotlin = "1.3.30"
|
||||
const val coroutines = "1.2.1"
|
||||
const val android_gradle_plugin = "3.4.1"
|
||||
const val coroutines = "1.3.0-RC2"
|
||||
const val android_gradle_plugin = "3.5.0"
|
||||
const val rxAndroid = "2.1.0"
|
||||
const val rxKotlin = "2.3.0"
|
||||
const val rxBindings = "3.0.0-alpha2"
|
||||
|
|
Loading…
Reference in New Issue