mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-17 22:58:33 +00:00
fix the SmsListenerTest
gradle never complained about this before and I'm not sure exactly when or why it began to but this works now. Closes #3211 // FREEBIE
This commit is contained in:
parent
dba7fd06c8
commit
bea9922840
@ -69,6 +69,7 @@ public class SmsListenerTest extends TextSecureTestCase {
|
|||||||
credit :D
|
credit :D
|
||||||
http://stackoverflow.com/a/12338541
|
http://stackoverflow.com/a/12338541
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
private static byte[] buildSmsPdu(String sender, String body) throws Exception{
|
private static byte[] buildSmsPdu(String sender, String body) throws Exception{
|
||||||
byte[] scBytes = PhoneNumberUtils.networkPortionToCalledPartyBCD("0000000000");
|
byte[] scBytes = PhoneNumberUtils.networkPortionToCalledPartyBCD("0000000000");
|
||||||
byte[] senderBytes = PhoneNumberUtils.networkPortionToCalledPartyBCD(sender);
|
byte[] senderBytes = PhoneNumberUtils.networkPortionToCalledPartyBCD(sender);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user