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:
Rhodey Orbits 2015-05-20 17:28:04 -07:00 committed by Moxie Marlinspike
parent dba7fd06c8
commit bea9922840

View File

@ -69,6 +69,7 @@ public class SmsListenerTest extends TextSecureTestCase {
credit :D
http://stackoverflow.com/a/12338541
*/
@SuppressWarnings("unchecked")
private static byte[] buildSmsPdu(String sender, String body) throws Exception{
byte[] scBytes = PhoneNumberUtils.networkPortionToCalledPartyBCD("0000000000");
byte[] senderBytes = PhoneNumberUtils.networkPortionToCalledPartyBCD(sender);