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

Skip to content
Commit 222e6821 authored by czq's avatar czq
Browse files

Make TextAppearanceInfo support spannable text

Extract the text appearance from the character before cursor when its TextPaint is overided by CharaterStyle spans. Also move the assignment code from Editor to TextAppearanceInfo#createFromTextView for easier testing.

Bug: 261378534

Test: atest android.view.inputmethod.TextAppearanceInfoTest

Change-Id: I9365767762bce5137f454260e342e833d3f35e55
parent 329f5f38
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