commit | 4a092d43c40d956bfaad7c230a7b9722268027f3 | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Mon May 02 15:16:52 2022 -0700 |
committer | Lucas Dupin <dupin@google.com> | Mon May 02 16:52:49 2022 -0700 |
tree | 36ad527e2dc6ee9b00794f9e59afab99da3963af | |
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