commit | d28e52b60862e3bad1ad65fa17072c714db635a8 | [log] [tgz] |
---|---|---|
author | Taran Singh <tarandeep@google.com> | Mon Jun 26 22:01:03 2023 +0000 |
committer | Taran Singh <tarandeep@google.com> | Fri Jul 07 21:48:52 2023 +0000 |
tree | 176f3ab5592ffcb3847fbadee0543d0c4e5521b8 | |
parent | d3813b18870b903b7b43a12ae399349d46267105 [diff] |
Cache isStylusHandwritingAvailable for user InputMethodManager's isStylusHandwritingAvialable is called frequently from all toolkits before initiation. Caching this value on client app should help reduce the hover icon and initiation latency Refer to doc in bug for approach Bug: 288618291 Bug: 287109569 Test: atest StylusHandwritingTest Test: atest MultiUserTest Change-Id: I6d89d82589e4946e07bfbc4b97811fe4537b1a9b