Skip to content

Commit 7b01de3

Browse files
committed
Suppress lint
1 parent db4ed1b commit 7b01de3

File tree

1 file changed

+2
-0
lines changed
  • sentry-android-replay/src/main/java/io/sentry/android/replay/util

1 file changed

+2
-0
lines changed

sentry-android-replay/src/main/java/io/sentry/android/replay/util/Views.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package io.sentry.android.replay.util
22

3+
import android.annotation.SuppressLint
34
import android.annotation.TargetApi
45
import android.graphics.Point
56
import android.graphics.Rect
@@ -45,6 +46,7 @@ internal fun View.isVisibleToUser(): Pair<Boolean, Rect?> {
4546
return false to null
4647
}
4748

49+
@SuppressLint("ObsoleteSdkInt")
4850
@TargetApi(21)
4951
internal fun Drawable?.isRedactable(): Boolean {
5052
// TODO: maybe find a way how to check if the drawable is coming from the apk or loaded from network

0 commit comments

Comments
 (0)