diff options
author | jsh <jsh@google.com> | 2009-05-29 16:13:48 -0700 |
---|---|---|
committer | jsh <jsh@google.com> | 2009-05-29 17:11:28 -0700 |
commit | ef354fdd634de93004fddd7966d70f70a1351ca8 (patch) | |
tree | abc075f7ddc15fd6fe79ee31aa44862a674bcf70 /tests/CoreTests | |
parent | c3b7e4e7dda7a81e7f1017f17adb717ffb3d50d2 (diff) | |
download | frameworks_base-ef354fdd634de93004fddd7966d70f70a1351ca8.zip frameworks_base-ef354fdd634de93004fddd7966d70f70a1351ca8.tar.gz frameworks_base-ef354fdd634de93004fddd7966d70f70a1351ca8.tar.bz2 |
Fix concat SMS for GSM.
Bug 1883998: We only support sending 8-bit references for now.
Bug 1885080: Also fix the GsmAlphabetTest, which started failing when SmsHeader
was re-worked.
Diffstat (limited to 'tests/CoreTests')
-rw-r--r-- | tests/CoreTests/com/android/internal/telephony/GsmAlphabetTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/CoreTests/com/android/internal/telephony/GsmAlphabetTest.java b/tests/CoreTests/com/android/internal/telephony/GsmAlphabetTest.java index e2336f8..3a9c511 100644 --- a/tests/CoreTests/com/android/internal/telephony/GsmAlphabetTest.java +++ b/tests/CoreTests/com/android/internal/telephony/GsmAlphabetTest.java @@ -41,7 +41,7 @@ public class GsmAlphabetTest extends TestCase { SmsHeader.toByteArray(header)); int septetCount = GsmAlphabet.countGsmSeptets(message, false); String parsedMessage = GsmAlphabet.gsm7BitPackedToString( - userData, SmsHeader.toByteArray(header).length+1, septetCount, 1); + userData, SmsHeader.toByteArray(header).length+2, septetCount, 1); assertEquals(message, parsedMessage); } |