diff options
author | Ralston Da Silva <ralu@google.com> | 2019-02-05 10:31:33 -0800 |
---|---|---|
committer | Ralston Da Silva <ralu@google.com> | 2019-02-09 00:47:48 +0000 |
commit | ccec37e1d13ae6b5223f9a29696d444ae6f3e1f2 (patch) | |
tree | 8cc7b8432d1634ba14a0d1d2549023d9245b645f /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 2fb540e01f5a88c33ea9edbf3accd0eb78349b5f (diff) |
Removing hidden api usage from AutoCompleteTextView
doBeforeTextChanged() and doAfterTextChanged() were being called to
trigger a refresh of the autocomplete suggestions when the refresh
was not automatically triggered by text input.
An androidx usage example is in SearchView, where we need to trigger
the autocomplete results manually.
https://cs.corp.google.com/aosp-kitkat/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java?rcl=197708fc4fc0a6a5ede2da2479613382b561f028&l=1199
https://cs.corp.google.com/aosp-kitkat/frameworks/support/v7/appcompat/src/android/support/v7/widget/SearchView.java?rcl=197708fc4fc0a6a5ede2da2479613382b561f028&l=895
I feel this is a valid use case and added a new public api refreshAutoCompleteResults()
Bug: 123768711
Bug: 123768433
Test: Added new CTS tests for newly added api
Change-Id: Icfa6287889b4f63c00aa2ad6450e47942a9adda5
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions