You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: features/dd-sdk-android-session-replay/src/main/kotlin/com/datadog/android/sessionreplay/internal/recorder/resources/DefaultImageWireframeHelper.kt
+9-2
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,9 @@ internal class DefaultImageWireframeHelper(
126
126
height = height
127
127
)
128
128
129
-
if (id ==null||!drawableProperties.isValid()) returnnull
129
+
if (id ==null||!drawableProperties.isValid()) {
130
+
returnnull
131
+
}
130
132
131
133
val resources = view.resources
132
134
@@ -256,6 +258,11 @@ internal class DefaultImageWireframeHelper(
256
258
)
257
259
258
260
wireframeIndex++
261
+
val resourceCacheKey =if (resourceIdCacheKey !=null) {
262
+
"$resourceIdCacheKey"+"_$wireframeIndex"
263
+
} else {
264
+
null
265
+
}
259
266
260
267
createImageWireframeByDrawable(
261
268
view = textView,
@@ -270,7 +277,7 @@ internal class DefaultImageWireframeHelper(
0 commit comments