Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1456f29a authored by czq's avatar czq
Browse files

Fix TextAppearanceInfo related APIs

1. Add a builder for TextAppearanceInfo, remove the constructor using TextView.
2. Remove maxLength attribute, add shadowColor.
3. Replace -1 with FontStyle.FONT_WEIGHT_UNSPECIFIED for textFontWeight.

Bug: 256995042

Test: atest android.view.inputmethod.cts.CursorAnchorInfoTest#testBuilder
atest android.view.inputmethod.cts.CursorAnchorInfoTest#testEquality
atest android.view.inputmethod.cts.CursorAnchorInfoTest#testTextAppearanceInfoWithEmptyEditText
atest android.view.inputmethod.cts.InputMethodServiceTest#testOnUpdateCursorAnchorInfo

Change-Id: I80faea43e6a96110171f61e18a6d744e719bdf58
parent 2111954a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment