Skip to content

Commit 413237c

Browse files
committed
Make linter happy again
1 parent 499c540 commit 413237c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sentry-android-core/src/main/java/io/sentry/android/core/internal/util/ScreenshotUtils.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import android.view.View;
1212
import android.view.Window;
1313
import androidx.annotation.Nullable;
14-
import androidx.annotation.RequiresApi;
1514
import io.sentry.ILogger;
1615
import io.sentry.SentryLevel;
1716
import io.sentry.android.core.BuildInfoProvider;
@@ -36,7 +35,7 @@ public class ScreenshotUtils {
3635
activity, AndroidMainThreadChecker.getInstance(), logger, buildInfoProvider);
3736
}
3837

39-
@RequiresApi(api = Build.VERSION_CODES.O)
38+
@SuppressLint("NewApi")
4039
public static @Nullable byte[] takeScreenshot(
4140
final @NotNull Activity activity,
4241
final @NotNull IMainThreadChecker mainThreadChecker,

0 commit comments

Comments
 (0)