summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSelim Gurun <sgurun@google.com>2014-03-03 16:56:16 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-03-03 16:56:16 +0000
commit7498890092c388dc59ca932e09ec79dd568b1a19 (patch)
treea164784ea9f06cb00a4668a56020c88e700d12af
parentff9625bd7217114c61d7bd0c08ce2dbbe8df4ae1 (diff)
parentbe6aab13c62ab5d5c91262c8188521cbc4262349 (diff)
downloadandroid_packages_apps_HTMLViewer-7498890092c388dc59ca932e09ec79dd568b1a19.tar.gz
android_packages_apps_HTMLViewer-7498890092c388dc59ca932e09ec79dd568b1a19.tar.bz2
android_packages_apps_HTMLViewer-7498890092c388dc59ca932e09ec79dd568b1a19.zip
am be6aab13: Do not add mimetype to url as a query parameter
* commit 'be6aab13c62ab5d5c91262c8188521cbc4262349': Do not add mimetype to url as a query parameter
-rw-r--r--src/com/android/htmlviewer/HTMLViewerActivity.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/com/android/htmlviewer/HTMLViewerActivity.java b/src/com/android/htmlviewer/HTMLViewerActivity.java
index 1c42441..2e46e49 100644
--- a/src/com/android/htmlviewer/HTMLViewerActivity.java
+++ b/src/com/android/htmlviewer/HTMLViewerActivity.java
@@ -103,10 +103,6 @@ public class HTMLViewerActivity extends Activity {
String contentUri = "file".equals(uri.getScheme())
? FileContentProvider.BASE_URI + uri.getEncodedPath()
: uri.toString();
- String intentType = intent.getType();
- if (intentType != null) {
- contentUri += "?" + intentType;
- }
mWebView.loadUrl(contentUri);
}
}