diff options
author | John Reck <jreck@google.com> | 2011-11-18 09:27:21 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-11-21 10:09:09 -0800 |
commit | 2edc80c2ccca9030f8013328cc2e37bc374d3d92 (patch) | |
tree | 3004eebd3ac907a38653497608744cc00c3737d4 /src | |
parent | 3e5e5fada69d74bb50b14ef3588e7beadaedfd69 (diff) | |
download | packages_apps_browser-2edc80c2ccca9030f8013328cc2e37bc374d3d92.zip packages_apps_browser-2edc80c2ccca9030f8013328cc2e37bc374d3d92.tar.gz packages_apps_browser-2edc80c2ccca9030f8013328cc2e37bc374d3d92.tar.bz2 |
URL bar select all
Bug: 5650655
Change-Id: I0b1e2522b158bccdc04d1bdaf4cb01ac53541b70
Diffstat (limited to 'src')
-rw-r--r-- | src/com/android/browser/NavigationBarPhone.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/NavigationBarPhone.java b/src/com/android/browser/NavigationBarPhone.java index 2e206fb..60b228d 100644 --- a/src/com/android/browser/NavigationBarPhone.java +++ b/src/com/android/browser/NavigationBarPhone.java @@ -213,6 +213,7 @@ public class NavigationBarPhone extends NavigationBarBase implements if (hasFocus && !mUrlInput.getText().toString().equals(mUrlInput.getTag())) { // only change text if different mUrlInput.setText((String) mUrlInput.getTag(), false); + mUrlInput.selectAll(); } else { setDisplayTitle(mUrlInput.getText().toString()); } |