diff options
| author | 2023-06-26 22:01:03 +0000 | |
|---|---|---|
| committer | 2023-07-07 21:48:52 +0000 | |
| commit | d28e52b60862e3bad1ad65fa17072c714db635a8 (patch) | |
| tree | 176f3ab5592ffcb3847fbadee0543d0c4e5521b8 /libs/androidfw/FileStream.cpp | |
| 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
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions