From c710d64df9cb4be8cc54f1450455b3a0c8a9360e Mon Sep 17 00:00:00 2001 From: Vinay Gaba Date: Wed, 11 Dec 2024 16:43:33 +0530 Subject: [PATCH] Fix lint error --- .../ShotShowkaseScreenshotTest.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/showkase-screenshot-testing-shot/src/main/java/com.airbnb.android.showkase.screenshot.testing.shot/ShotShowkaseScreenshotTest.kt b/showkase-screenshot-testing-shot/src/main/java/com.airbnb.android.showkase.screenshot.testing.shot/ShotShowkaseScreenshotTest.kt index b28de8b2..4b2854a1 100644 --- a/showkase-screenshot-testing-shot/src/main/java/com.airbnb.android.showkase.screenshot.testing.shot/ShotShowkaseScreenshotTest.kt +++ b/showkase-screenshot-testing-shot/src/main/java/com.airbnb.android.showkase.screenshot.testing.shot/ShotShowkaseScreenshotTest.kt @@ -1,12 +1,15 @@ package com.airbnb.android.showkase.screenshot.testing.shot import android.graphics.Bitmap +import android.os.Build +import androidx.annotation.RequiresApi import com.airbnb.android.showkase.screenshot.testing.ShowkaseScreenshotTest import com.airbnb.android.showkase.screenshot.testing.ShowkaseScreenshotType import com.karumi.shot.ScreenshotTest abstract class ShotShowkaseScreenshotTest : ShowkaseScreenshotTest, ScreenshotTest { + @RequiresApi(Build.VERSION_CODES.O) override fun onScreenshot( id: String, name: String,