From 29aab40c6af8cf34e7c5040725600fd1ee52a35b Mon Sep 17 00:00:00 2001 From: Michael Kolb Date: Tue, 29 May 2012 17:22:35 -0700 Subject: Only change text in url input when it changed Bug: 6556693 Change-Id: Iad0f285f89710de1bbdf7ab5f727bdc81d4ef387 --- src/com/android/browser/NavigationBarBase.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/com/android/browser/NavigationBarBase.java') diff --git a/src/com/android/browser/NavigationBarBase.java b/src/com/android/browser/NavigationBarBase.java index cf61c45..37b11c8 100644 --- a/src/com/android/browser/NavigationBarBase.java +++ b/src/com/android/browser/NavigationBarBase.java @@ -134,7 +134,9 @@ public class NavigationBarBase extends LinearLayout implements void setDisplayTitle(String title) { if (!isEditingUrl()) { - mUrlInput.setText(title, false); + if (!title.equals(mUrlInput.getText().toString())) { + mUrlInput.setText(title, false); + } } } -- cgit v1.1