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

Commit b892766f authored by Narayan Kamath's avatar Narayan Kamath
Browse files

preloaded-classes: Add android.text.Html$HtmlParser

This class creates a singleton HTMLSchema instance in <clinit> and
we want this done in the zygote. HTMLSchema.<init> is too large for
the compiler and can allocate ~100k of objects on the heap. This also
saves ~50ms in the execution of Html.fromHtml on a lightly loaded
marlin-userdebug.

Test: manual
Bug: 36678451
Change-Id: Icdd3af35018bbe283b3e3690c696e6517452165d
parent fc513f98
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1820,6 +1820,7 @@ android.text.FontConfig$Font$1
android.text.GetChars
android.text.GraphicsOperations
android.text.Html
android.text.Html$HtmlParser
android.text.Hyphenator
android.text.InputFilter
android.text.InputType