diff options
| author | 2022-05-02 15:16:52 -0700 | |
|---|---|---|
| committer | 2022-05-02 16:52:49 -0700 | |
| commit | 4a092d43c40d956bfaad7c230a7b9722268027f3 (patch) | |
| tree | 36ad527e2dc6ee9b00794f9e59afab99da3963af /libs/androidfw/AssetsProvider.cpp | |
| parent | e5f9c3da5c3350f4e116e5992957f8017e763854 (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