Skip to content

Commit 9d1877f

Browse files
committed
PR fixes
1 parent fd0d148 commit 9d1877f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dd-sdk-android-core/src/main/kotlin/com/datadog/android/api/feature/FeatureSdkCore.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ interface FeatureSdkCore : SdkCore {
110110
/**
111111
* Allows the given feature to set the anonymous ID for the SDK.
112112
*
113-
* @param anonymousId Anonymous ID to set.
113+
* @param anonymousId Anonymous ID to set. Can be null if feature is disabled.
114114
*/
115115
fun setAnonymousId(anonymousId: UUID?)
116116
}

features/dd-sdk-android-rum/src/main/kotlin/com/datadog/android/rum/internal/RumAnonymousIdentifierManager.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ internal class RumAnonymousIdentifierManager(
6363
}
6464
}
6565

66-
@Suppress("SwallowedException", "UnsafeThirdPartyFunctionCall")
6766
internal class AnonymousIdentifierDeserializer : Deserializer<String, UUID> {
6867
override fun deserialize(model: String): UUID? {
68+
@Suppress("SwallowedException")
6969
return try {
7070
UUID.fromString(model)
7171
} catch (e: IllegalArgumentException) {

0 commit comments

Comments
 (0)