Chromium Code Reviews
Description🔍 Continue working on the search widget prototype
General cleanup:
* Further encapsulate the SearchActivityLocationBarLayout.
* Enable the search widget on Canary so that we can get
_some_ testing.
Microphone fixes:
* Switch to singleTask so that the microphone works on JB
and KK: Android changed semantics for
startActivityForResult for singleInstance tasks somewhere
after that. We were already properly handling singleTask
behavior because of the onNewIntent call anyway.
* Hook into Activity#onRequestPermissionsResult so that
we can properly listen for permissions changes and trigger
a voice query afterward.
* If we're not confident in the search query, the result is
put into the text box. Hitting enter previously sent you
to the first link in the suggestions instead of properly
regenerating them. This was fixed by avoiding trying to
refocus and reset the query when the microphone result
came in.
Transition fixes:
* Stop calling finish() from onStop(). This messed up when
the user went to recents and then re-entered the
SearchActivity immediately.
* Clean up some more of the activity creation, including
getting rid of an unnecessary style. This fixes up
some of the background color transitions slightly.
BUG=708844
Review-Url: https://codereview.chromium.org/2814593003
Cr-Commit-Position: refs/heads/master@{#463715}
Committed: https://chromium.googlesource.com/chromium/src/+/24f29cd501c22986c8b80fbf4283c734be81c2b9
Patch Set 1 #Patch Set 2 : Get microphone working on KK #Patch Set 3 : Microphone permission fix #Patch Set 4 : Fix non-confident search queries #
Total comments: 2
Patch Set 5 : 🔍 Continue cleaning up the search widget. #
Messages
Total messages: 22 (15 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||