commit | 396c78942613f8fd501944086ebb419a5f4ca030 | [log] [tgz] |
---|---|---|
author | James.cf Lin <jamescflin@google.com> | Tue Feb 08 16:11:47 2022 +0800 |
committer | James Lin <jamescflin@google.com> | Thu Mar 10 09:58:40 2022 +0000 |
tree | 880aab02dad7bc628ed92e97807d31d51073abb9 | |
parent | dac2c8c6450f485c6593e2db7a3363b3744002f9 [diff] |
Update the text wrapping API. 1) Update the LineBreakConfig class to be immutable. 2) Do not return null in the PrecomputedText.Params#getLineBreaiConfig API Bug: 216638444 Test: atest TextViewTest; atest MeasuredTextTest; atest PrecomputedTextTest; atest TextViewPrecomputedTextTest; atest StaticLayoutLineBreakingVariantsTest Merged-In: I93bcb6ebc35344e34e9bb8a24df375aa7b3a8d81 Merged-In: I07766137ff6639c7d4acaad07dbcf11a2841cdb0 Change-Id: I07766137ff6639c7d4acaad07dbcf11a2841cdb0