commit | a0e938e843f829746d5ca550b9eb2b9dbae3bc20 | [log] [tgz] |
---|---|---|
author | Gabriel Peal <gabriel@tonal.com> | Sat Aug 10 17:22:44 2019 -0700 |
committer | Gabriel Peal <gabriel@tonal.com> | Sat Aug 10 17:22:44 2019 -0700 |
tree | 2287cde0149f23d7b94097e3aaaba899b60c1d7e | |
parent | 598d1be3304b921969cee05c36d767d0da6b8bbc [diff] |
Run on all versions
diff --git a/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/LottieTest.kt b/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/LottieTest.kt index 2360939..0a2503b 100644 --- a/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/LottieTest.kt +++ b/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/LottieTest.kt
@@ -767,8 +767,6 @@ } private suspend fun testNightMode() { - if (VERSION.SDK_INT < 29 /* Build.VERSION_CODES.Q */) return - var newConfig = Configuration(activity.getResources().getConfiguration()) newConfig.uiMode = newConfig.uiMode and Configuration.UI_MODE_NIGHT_MASK.inv(); newConfig.uiMode = newConfig.uiMode or Configuration.UI_MODE_NIGHT_NO;