We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db4ed1b commit 7b01de3Copy full SHA for 7b01de3
sentry-android-replay/src/main/java/io/sentry/android/replay/util/Views.kt
@@ -1,5 +1,6 @@
1
package io.sentry.android.replay.util
2
3
+import android.annotation.SuppressLint
4
import android.annotation.TargetApi
5
import android.graphics.Point
6
import android.graphics.Rect
@@ -45,6 +46,7 @@ internal fun View.isVisibleToUser(): Pair<Boolean, Rect?> {
45
46
return false to null
47
}
48
49
+@SuppressLint("ObsoleteSdkInt")
50
@TargetApi(21)
51
internal fun Drawable?.isRedactable(): Boolean {
52
// TODO: maybe find a way how to check if the drawable is coming from the apk or loaded from network
0 commit comments