Fixes crash on empty url

 Bug: 3229882
 This fixes a browser crash when the user would hit enter with an
 empty URL bar.

Change-Id: I6af056e6b086b9b6c19d3b354d950d2fb2411b1f
diff --git a/src/com/android/browser/UrlInputView.java b/src/com/android/browser/UrlInputView.java
index 2e29f26..9c85616 100644
--- a/src/com/android/browser/UrlInputView.java
+++ b/src/com/android/browser/UrlInputView.java
@@ -20,6 +20,7 @@
 
 import android.content.Context;
 import android.content.res.Configuration;
+import android.text.TextUtils;
 import android.util.AttributeSet;
 import android.view.ActionMode;
 import android.view.KeyEvent;
@@ -148,7 +149,7 @@
         this.dismissDropDown();
         this.setSelection(0,0);
         mInputManager.hideSoftInputFromWindow(getWindowToken(), 0);
-        if (url == null) {
+        if (TextUtils.isEmpty(url)) {
             mListener.onDismiss();
         } else {
             mListener.onAction(url, extra);