From 7123016dfb5397554329ed813ccb3f961e4c91a8 Mon Sep 17 00:00:00 2001 From: Ivan Matkov Date: Fri, 20 Dec 2024 16:12:56 +0100 Subject: [PATCH] Add default constructor parameter to tests source compatibility --- compose/ui/ui-graphics/api/desktop/ui-graphics.api | 2 ++ .../androidx/compose/ui/graphics/SkiaGraphicsContext.skiko.kt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/compose/ui/ui-graphics/api/desktop/ui-graphics.api b/compose/ui/ui-graphics/api/desktop/ui-graphics.api index 4efd6e38d00d5..84f4a6dec2307 100644 --- a/compose/ui/ui-graphics/api/desktop/ui-graphics.api +++ b/compose/ui/ui-graphics/api/desktop/ui-graphics.api @@ -1000,7 +1000,9 @@ public final class androidx/compose/ui/graphics/SkiaColorFilter_skikoKt { } public final class androidx/compose/ui/graphics/SkiaGraphicsContext : androidx/compose/ui/graphics/GraphicsContext { + public fun ()V public fun (Z)V + public synthetic fun (ZILkotlin/jvm/internal/DefaultConstructorMarker;)V public fun createGraphicsLayer ()Landroidx/compose/ui/graphics/layer/GraphicsLayer; public final fun dispose ()V public fun releaseGraphicsLayer (Landroidx/compose/ui/graphics/layer/GraphicsLayer;)V diff --git a/compose/ui/ui-graphics/src/skikoMain/kotlin/androidx/compose/ui/graphics/SkiaGraphicsContext.skiko.kt b/compose/ui/ui-graphics/src/skikoMain/kotlin/androidx/compose/ui/graphics/SkiaGraphicsContext.skiko.kt index 2f60ea83057eb..4cf61f29e1c49 100644 --- a/compose/ui/ui-graphics/src/skikoMain/kotlin/androidx/compose/ui/graphics/SkiaGraphicsContext.skiko.kt +++ b/compose/ui/ui-graphics/src/skikoMain/kotlin/androidx/compose/ui/graphics/SkiaGraphicsContext.skiko.kt @@ -26,7 +26,7 @@ import org.jetbrains.skia.Point3 @InternalComposeUiApi class SkiaGraphicsContext( - internal val measureDrawBounds: Boolean, + internal val measureDrawBounds: Boolean = false, ): GraphicsContext { internal val lightGeometry = LightGeometry() internal val lightInfo = LightInfo()