mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 12:38:33 +00:00
Fix androidTest issue with deviceId generation.
This commit is contained in:
@@ -145,7 +145,7 @@ class SignalActivityRule(private val othersCount: Int = 4, private val createGro
|
|||||||
SignalDatabase.recipients.setProfileSharing(recipientId, true)
|
SignalDatabase.recipients.setProfileSharing(recipientId, true)
|
||||||
SignalDatabase.recipients.markRegistered(recipientId, aci)
|
SignalDatabase.recipients.markRegistered(recipientId, aci)
|
||||||
val otherIdentity = IdentityKeyUtil.generateIdentityKeyPair()
|
val otherIdentity = IdentityKeyUtil.generateIdentityKeyPair()
|
||||||
AppDependencies.protocolStore.aci().saveIdentity(SignalProtocolAddress(aci.toString(), 0), otherIdentity.publicKey)
|
AppDependencies.protocolStore.aci().saveIdentity(SignalProtocolAddress(aci.toString(), 1), otherIdentity.publicKey)
|
||||||
others += recipientId
|
others += recipientId
|
||||||
othersKeys += otherIdentity
|
othersKeys += otherIdentity
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user