Chromium Code Reviews
Description🔍 Update how shared preferences are handled by the widget
* Return the widget to the regular browser process. SharedPreferences
don't interact well with multiple processes because they're cached
per process.
* Add the ability to cache whether or not a voice query is possible,
then use that to determine whether a microphone should be visible.
* Remove caching of the search engine name as a static String. The
user will generally have only one widget. I doubt it helped much,
and it complicated the code a bit.
* Add support for resetting the widget when Clank's data is cleared.
* Instead of updating all the widgets via another broadcast, just do
it synchronously when it's called.
Minor things:
* Set a background color explicitly so that it doesn't come up white.
* Remove Herb-related launching.
BUG=708844, 710943, 710947
Review-Url: https://codereview.chromium.org/2816733003
Cr-Commit-Position: refs/heads/master@{#464605}
Committed: https://chromium.googlesource.com/chromium/src/+/8ef9faffba78738c37df77a160fea80ee5f604af
Patch Set 1 #Patch Set 2 : git cl try #Patch Set 3 : Fix initialization, add clearing data support #Patch Set 4 : Fix background color flashing #
Total comments: 2
Patch Set 5 : Yay for multiple branches and cherry picks. #Patch Set 6 : Ugh eclipse #Messages
Total messages: 21 (15 generated)
|