9267faa62a0fa5196298296eb48bd14f3ee512f9 |
|
19-Feb-2016 |
Mikhail Naganov <mnaganov@google.com> |
Fix crash in onRequestPermissionsResult due to empty grantResults In the case when the permission request dialog is displayed and the device is changing orientation, the callback will be called with empty grantResults array. The code needs to take this case into account. Bug: 27237709 Change-Id: I450d365fcdfa308a69265d75391661fa64028734
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
8eaef57f27db50d54be7e7955486dc22dde6c9f2 |
|
26-Oct-2015 |
Euisang Lim <eui-sang.lim@samsung.com> |
Reload data after the permission is granted HTMLViewer tries to load data even if the permission is denied. It just shows up 'Webpage not available', so users can't notice that this is the permission problem. It would be better to check if the data has file scheme and show dialog to check permission. HTMLViewer gets closed and shows toast message if permission is denied. On the other hand, it reloads data if permission is granted by a user. Change-Id: I26ad05136194cb36d4a17d3a8ab1a3fd2b5dfeb5 Signed-off-by: Euisang Lim <eui-sang.lim@samsung.com>
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
0e4f86ba6d9b1a35c9b78a3bf2147208301280d3 |
|
28-Oct-2015 |
Paul Miller <paulmiller@google.com> |
Manual cherry-pick of "Update permission usage for M" Manual cherry-pick of 72c99277ae6dd2a871a50189e1f45791108bb267 from internal/master to aosp/master BUG:24172966 Change-Id: I7c6d97555e72a8ae8297d64c747378c9ab09354e
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
395e3d4c0b1830e449320e17d2b1baab991ca793 |
|
30-Apr-2015 |
eui-sang.lim <eui-sang.lim@samsung.com> |
Implement shouldOverrideUrlLoading to open hyperlink on HTMLViewer. Since WebViewClient was set to WebView, hyperlink has not been working on HTMLViewer because WebViewClient has empty shouldOverrideUrlLoading. Therefore, copied shouldOverrideUrlLoading from WebViewContentsClientAdapter.java in Android WebView Opensource. bug: https://code.google.com/p/android/issues/detail?id=170578 Change-Id: I8ad0584c72be2f96ff88901f6d031144d4a98b38 Signed-off-by: Euisang Lim <eui-sang.lim@samsung.com>
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
50278dabb69191ed8605164936081a1701256cdd |
|
18-Nov-2014 |
Mikhail Naganov <mnaganov@google.com> |
Restore zoom controls in HTMLViewer WebSettings.setBuiltInZoomControls must be set to 'true' for zoom controls and pinch-zooming to work. And then we need to call WebSettings.setDisplayZoomControls(false) to leave only pinch-zoom. Bug: 18403885 Change-Id: I549fc11673096046212f8c8efaf65824d1000ad7
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
c9cd4b66263697ddc227b012d96a90ead8d21d92 |
|
14-Nov-2014 |
Jeff Sharkey <jsharkey@android.com> |
Modernize HTMLViewer, offer to decompress. Spruce up the UI to match Material spec. We can also load file:// content directly instead of forcing through a ContentProvider. Since we're using this to show license content, try decompressing files that end in ".gz", but fall back to loading normally if it's not compressed. Let callers provide a window title. Bug: 18376908 Change-Id: I59ce02fb17fbe157239d365417a1a1e88e2a18d4
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
7871a62ee3373100f62f13db906bca9825d6fbe7 |
|
26-Mar-2014 |
Ben Murdoch <benm@google.com> |
Update HTMLViewer to use utf-8 text encoding. By default, WebView will use Latin-1 encoding. Patch courtesy of Takeshi Aimi. Bug: 13214875 Change-Id: I16d3bf91904b617fd25c98d68771330c01055f18
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
0fa2c6a68e34bcff5c1dccc564e210273de7af6d |
|
17-Mar-2014 |
Ben Murdoch <benm@google.com> |
Revert "HTMLViewer: allow encoding to be specified in incoming Intent." We are going to unconditionally go for UTF-8 going forward. This reverts commit 3b1632a210328fc8e924bb40316d793502206a37. Change-Id: Ib8792c613c0d30b2097e125ea7c3bdaf6d737fd5
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
3b1632a210328fc8e924bb40316d793502206a37 |
|
28-Feb-2014 |
Ben Murdoch <benm@google.com> |
HTMLViewer: allow encoding to be specified in incoming Intent. Bug:13214875 Change-Id: I7eb9857e9f6d3f640c6264da98681d065e22527f
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
7609f0f74a1b93ae5964d1d31a51fd25cca5d72b |
|
28-Feb-2014 |
Ben Murdoch <benm@google.com> |
Clean up whitespace. Change-Id: Ib1b38186027244c1218fab0d1c81400b9ad570a3
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
dd44be0b2e29ee043ac8c25dba34f11b9c018c46 |
|
05-Dec-2013 |
Selim Gurun <sgurun@google.com> |
Do not add mimetype to url as a query parameter 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
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
9715e7c99a3a86162718d7932aaa174090abc381 |
|
18-Sep-2013 |
Mikhail Naganov <mnaganov@google.com> |
Enable zoom controls in HTMLViewer 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
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
23489eacff5576b58d94fb96b5d4a119f6193f2d |
|
03-Jul-2013 |
Ben Murdoch <benm@google.com> |
Don't call WebView.stopLoading() from onStop() 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
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
89c5a7db771a601adf20ad3e3a7a979ccacbd0d9 |
|
02-Sep-2009 |
Cary Clark <cary@android.com> |
Only include the intent type in loadUrl() if it is set
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
931fd3728855b03bcab825ce10475d7447e9097a |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
0664dd747f36abcc122a3d3e7c6ab1472681f510 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
ae36e6ba1ad74a7eb844a41c6c0fc1ecd3c66467 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|
dbdb2a036901f82d3bb27e35a8140206da2328dd |
|
21-Oct-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Initial Contribution
/packages/apps/HTMLViewer/src/com/android/htmlviewer/HTMLViewerActivity.java
|