diff options
author | Elliott Hughes <enh@google.com> | 2014-11-12 02:53:22 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-12 02:53:22 +0000 |
commit | 2fa1e48692e9bc29b81b0333e8b3742a1eb85206 (patch) | |
tree | 786e36ad846dcced246b134a30076825333b3b6f | |
parent | dbf16c6fa0d1ab4e8bc8f3ca61ae4b0ce5d38a8f (diff) | |
parent | 7c4ef052d521d5ccf8acfb03c9332b59ea737cea (diff) | |
download | frameworks_base-2fa1e48692e9bc29b81b0333e8b3742a1eb85206.zip frameworks_base-2fa1e48692e9bc29b81b0333e8b3742a1eb85206.tar.gz frameworks_base-2fa1e48692e9bc29b81b0333e8b3742a1eb85206.tar.bz2 |
am 7c4ef052: Merge "Fix for CharSequenceCreator test case"
* commit '7c4ef052d521d5ccf8acfb03c9332b59ea737cea':
Fix for CharSequenceCreator test case
-rw-r--r-- | core/tests/coretests/src/android/text/TextUtilsTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/tests/coretests/src/android/text/TextUtilsTest.java b/core/tests/coretests/src/android/text/TextUtilsTest.java index d494c5d..5a6ef30 100644 --- a/core/tests/coretests/src/android/text/TextUtilsTest.java +++ b/core/tests/coretests/src/android/text/TextUtilsTest.java @@ -353,6 +353,7 @@ public class TextUtilsTest extends TestCase { assertNull("null CharSequence should generate null from parcel", text); p = Parcel.obtain(); TextUtils.writeToParcel("test", p, 0); + p.setDataPosition(0); text = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(p); assertEquals("conversion to/from parcel failed", "test", text); } |