diff options
author | John Reck <jreck@google.com> | 2011-06-27 15:36:50 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-06-27 15:36:50 -0700 |
commit | e6db1e78052dcd4d9409f57df1ab3fb3ac9ff413 (patch) | |
tree | 70510b9d812e86abece6e8480cecd33f345683de /src/com/android/browser | |
parent | 32feebd05dc90785194df32b7a14c2e0ceba2b1e (diff) | |
download | packages_apps_Browser-e6db1e78052dcd4d9409f57df1ab3fb3ac9ff413.zip packages_apps_Browser-e6db1e78052dcd4d9409f57df1ab3fb3ac9ff413.tar.gz packages_apps_Browser-e6db1e78052dcd4d9409f57df1ab3fb3ac9ff413.tar.bz2 |
Fix tests
Bug: 4771193
Fix bug where data URL was stripped instead of just text2
Change-Id: I93ebcdd3a7ef4106dbdeda0ea16773ac919b3cb2
Diffstat (limited to 'src/com/android/browser')
-rw-r--r-- | src/com/android/browser/provider/BrowserProvider2.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/browser/provider/BrowserProvider2.java b/src/com/android/browser/provider/BrowserProvider2.java index 284d9bc..724cbad 100644 --- a/src/com/android/browser/provider/BrowserProvider2.java +++ b/src/com/android/browser/provider/BrowserProvider2.java @@ -1978,6 +1978,7 @@ public class BrowserProvider2 extends SQLiteContentProvider { case SUGGEST_COLUMN_INTENT_ACTION_ID: return Intent.ACTION_VIEW; case SUGGEST_COLUMN_INTENT_DATA_ID: + return mSource.getString(URL_INDEX); case SUGGEST_COLUMN_TEXT_2_TEXT_ID: case SUGGEST_COLUMN_TEXT_2_URL_ID: return UrlUtils.stripUrl(mSource.getString(URL_INDEX)); |