diff options
author | Joanne Chung <joannechung@google.com> | 2020-10-28 22:10:01 +0800 |
---|---|---|
committer | Joanne Chung <joannechung@google.com> | 2021-03-02 14:13:48 +0800 |
commit | a6d3ac4721bef235f5de7f7cc16842362849583d (patch) | |
tree | 637f4c89f124897b89f019237ec8cc4bd1fd9cbd /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | b8737dac2c10558a05a8df5e6882b110136d72f9 (diff) |
Make SelectionActionModeHelper hardcoded constants configurable.
Read the selection timeout value from ViewConfiguration,
ViewConfiguration is statically configurable by the OEM. OEMs can
set the value which works on their device before shipping it.
After privacy sync, we can make the selection context size
configurable by DeviceConfig but we need to provide a
reasonable upper bound. The value is 240 after experiment.
Bug: 169042855
Test: atest CtsTextClassifierTestCases
Test: atest CtsWidgetTestCases:TextViewTest
Test: atest android.widget.TextViewActivityTest
Test: manual. Changes values by command and checks the values.
Change-Id: I59346fdc3b482bca586c13ba6c653d1e9b593922
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions