-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds a onQueryTextChangeListener to the searchview and manually calls DictionarySearcherActivity. This adds a new intent flag, SUBMITTED, which allows DictionarySearcherActivity to differentiate between calls that were submitted by search on type, and those through the normal submitting process. This differentiation is necessary because we change the query text if it is submitted so that we can record what the voice query returned. If we did not, we would change the query text during search on type, which breaks IME composition.
- Loading branch information
ispedals
committed
Sep 18, 2013
1 parent
b5d61e4
commit 770898e
Showing
2 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters