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

Skip to content
Commit 61d69847 authored by Ibrahim Yilmaz's avatar Ibrahim Yilmaz
Browse files

Apply PrecomputedText only ImageFloatingTV and its children

TextView might use different text layout than StaticLayout such as BoringLayout.
BoringLayout does not use PrecomputedText and benchmarks show that PrecomputedText(Custom Spannable String) could increase onMeasure time of TextView.
That's why we only apply PrecomputedText to ImageFloatingTV and MessagingTextMessage.

Bug: 289250881
Test: SystemUITests and perfetto
Change-Id: I6fa6bbb9fd8fae855228eeac266d33ce95d99319
parent 31af7513
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