summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2013-07-03 19:11:42 +0100
committerBen Murdoch <benm@google.com>2013-07-03 19:11:42 +0100
commit23489eacff5576b58d94fb96b5d4a119f6193f2d (patch)
treedf221e924e65a6be84b67d1343a22eb9a0d737a9
parente688d4d402ed98a6c82a1706c16894e6d59f458d (diff)
downloadandroid_packages_apps_HTMLViewer-23489eacff5576b58d94fb96b5d4a119f6193f2d.tar.gz
android_packages_apps_HTMLViewer-23489eacff5576b58d94fb96b5d4a119f6193f2d.tar.bz2
android_packages_apps_HTMLViewer-23489eacff5576b58d94fb96b5d4a119f6193f2d.zip
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
-rw-r--r--src/com/android/htmlviewer/HTMLViewerActivity.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/com/android/htmlviewer/HTMLViewerActivity.java b/src/com/android/htmlviewer/HTMLViewerActivity.java
index b8a59d3..8ff5516 100644
--- a/src/com/android/htmlviewer/HTMLViewerActivity.java
+++ b/src/com/android/htmlviewer/HTMLViewerActivity.java
@@ -132,7 +132,6 @@ public class HTMLViewerActivity extends Activity {
super.onStop();
CookieSyncManager.getInstance().stopSync();
- mWebView.stopLoading();
}
@Override