OSDN Git Service

When reverting the voice title bar, display the url.
authorLeon Scroggins <scroggo@google.com>
Wed, 10 Mar 2010 17:13:14 +0000 (12:13 -0500)
committerLeon Scroggins <scroggo@google.com>
Wed, 10 Mar 2010 17:13:14 +0000 (12:13 -0500)
Fix for http://b/issue?id=2503151

Change-Id: I8beda0135631d18cc65f5a59dde46142d0c18b08

src/com/android/browser/BrowserActivity.java

index 4cf4cf4..2469408 100644 (file)
@@ -763,8 +763,8 @@ public class BrowserActivity extends Activity
         mTitleBar.setInVoiceMode(false);
         mFakeTitleBar.setInVoiceMode(false);
 
-        mTitleBar.setDisplayTitle(mTitle);
-        mFakeTitleBar.setDisplayTitle(mTitle);
+        mTitleBar.setDisplayTitle(mUrl);
+        mFakeTitleBar.setDisplayTitle(mUrl);
     }
     /* package */ static String fixUrl(String inUrl) {
         // FIXME: Converting the url to lower case