Skip to content

Commit

Permalink
Dummy results: replace zeros with empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey-Makarov committed Oct 6, 2023
1 parent 9fba647 commit 900efb0
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import com.fingerprintjs.android.fingerprint.FingerprintResult
import com.fingerprintjs.android.fingerprint.signal_providers.SignalGroupProvider

internal object DummyResults {
private const val ALL_ZEROS = "0000000000000000"
const val fingerprint = ALL_ZEROS
private const val dummyString = ""
const val fingerprint = dummyString
val fingerprintResult = object : FingerprintResult {
override val fingerprint: String
get() = this@DummyResults.fingerprint
Expand All @@ -16,9 +16,9 @@ internal object DummyResults {
}
}
val deviceIdResult = DeviceIdResult(
deviceId = ALL_ZEROS,
gsfId = ALL_ZEROS,
androidId = ALL_ZEROS,
mediaDrmId = ALL_ZEROS,
deviceId = dummyString,
gsfId = dummyString,
androidId = dummyString,
mediaDrmId = dummyString,
)
}

0 comments on commit 900efb0

Please sign in to comment.