OSDN Git Service

Force a load when getting a new intent from voice search.
authorLeon Scroggins <scroggo@google.com>
Mon, 15 Mar 2010 17:10:45 +0000 (13:10 -0400)
committerLeon Scroggins <scroggo@google.com>
Mon, 15 Mar 2010 18:18:14 +0000 (14:18 -0400)
commit945f1007f7574b317e04a43669d092cfc9e5d69c
tree6e11cf48c9581f820321b1383d04bf5b74ec1801
parent2c0f611fab8c0a24365c0dd5cbf0a90f70f314c8
Force a load when getting a new intent from voice search.

When reusing an app tab, we generally do not reload in the case
where the URL matches the old URL.  However, in the case of a
voice search, both URLs are "", because the information is held
in UrlData.mVoiceIntent.  If that field is not null, load the
Tab, which will load the new voice search.

Change-Id: I0ba60b1e482cf1fd1b95e4dab969527f18096cc1
src/com/android/browser/BrowserActivity.java