summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Lucas Dupin <dupin@google.com> 2022-05-02 15:16:52 -0700
committer Lucas Dupin <dupin@google.com> 2022-05-02 16:52:49 -0700
commit4a092d43c40d956bfaad7c230a7b9722268027f3 (patch)
tree36ad527e2dc6ee9b00794f9e59afab99da3963af /libs/androidfw/AssetsProvider.cpp
parente5f9c3da5c3350f4e116e5992957f8017e763854 (diff)
Avoid Spell Checker initialization during anim
TextView initializes the spell checker when the view is attached to a window, making a couple of IPCs. These IPCs can contribute to jank, so we should avoid them if we can. This CL delays the initialization until the edit text actually becomes visible. Test: perfetto trace Test: atest RemoteInputViewTest Fixes: 191953960 Change-Id: I27820986ec925f5edbf7e26f6b8f7311f6d2f467
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions