summaryrefslogtreecommitdiffstats
path: root/src/com/android/htmlviewer/HTMLViewerActivity.java
Commit message (Collapse)AuthorAgeFilesLines
* Update HTMLViewer to use utf-8 text encoding.Ben Murdoch2014-03-261-0/+2
| | | | | | | | | By default, WebView will use Latin-1 encoding. Patch courtesy of Takeshi Aimi. Bug: 13214875 Change-Id: I16d3bf91904b617fd25c98d68771330c01055f18
* Revert "HTMLViewer: allow encoding to be specified in incoming Intent."Ben Murdoch2014-03-171-8/+0
| | | | | | | | We are going to unconditionally go for UTF-8 going forward. This reverts commit 3b1632a210328fc8e924bb40316d793502206a37. Change-Id: Ib8792c613c0d30b2097e125ea7c3bdaf6d737fd5
* HTMLViewer: allow encoding to be specified in incoming Intent.Ben Murdoch2014-02-281-0/+8
| | | | | | Bug:13214875 Change-Id: I7eb9857e9f6d3f640c6264da98681d065e22527f
* Clean up whitespace.Ben Murdoch2014-02-281-26/+26
| | | | Change-Id: Ib1b38186027244c1218fab0d1c81400b9ad570a3
* Do not add mimetype to url as a query parameterSelim Gurun2013-12-041-4/+0
| | | | | | | | | | Bug: 11654127 Adding mimetype to url as a query parameter is a bad practice as it requires us to inject app specific behavior to webview. There also seems no reason to add this, so removing. Change-Id: Ib2e5198981f2d37128ab545a33b83e8109bf3eef
* Enable zoom controls in HTMLViewerMikhail Naganov2013-09-191-1/+2
| | | | | | | | | | | Due to changes in Chromium WebView, text files may be displayed using a smaller font, not comfortable for reading. Enabling zoom controls serves as a workaround. This also puts HTMLViewer on par with DocViewer (for office files), which also allows zooming of contents. BUG: 10674904 Change-Id: I806fbed103e6f714824f69d78e681ee96f142d42
* Don't call WebView.stopLoading() from onStop()Ben Murdoch2013-07-031-1/+0
| | | | | | | | | | If the app is opened while the screen is off, the call to WebView.stopLoading can cause the load triggered by onCreate to stop - never being resumed or restarted, resulting in no content. BUG=9493580 Change-Id: I7f19cbbe4d9dc735ed976798ccf783bbf42c8c8f
* Only include the intent type in loadUrl() if it is setCary Clark2009-09-041-10/+7
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+164
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-164/+0
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-38/+12
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+190