diff options
author | 2024-02-07 08:48:42 +0000 | |
---|---|---|
committer | 2024-02-14 01:23:30 +0000 | |
commit | 276eaeba5a2875e1feabf788c8204b60c2999ba9 (patch) | |
tree | 7234ce7248325df4f4a12777a21be2eeba0aed90 /native/android/input.cpp | |
parent | 93e9efd0692cd1e3e0bdb40485d83fc9f08aefcc (diff) |
[text] Memoize DeviceConfig values
Device config access is shown to be slow.
These values aren't expected to change at runtime, so cache them.
Bug: 323623465
Test: atest CtsTextClassifierTestCases
Test: atest TextClassificationConstantsTest
Change-Id: Iad3343f70fcf19ec9c7a3e9e53fad917d21dd3e3
Diffstat (limited to 'native/android/input.cpp')
0 files changed, 0 insertions, 0 deletions