OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d55de40
)
The starting progress for WebView should be 100 as it is
author
Grace Kloba
<klobag@google.com>
Thu, 17 Sep 2009 21:20:28 +0000
(14:20 -0700)
committer
Grace Kloba
<klobag@google.com>
Thu, 17 Sep 2009 21:20:28 +0000
(14:20 -0700)
not in the loading state.
core/java/android/webkit/CallbackProxy.java
patch
|
blob
|
history
diff --git
a/core/java/android/webkit/CallbackProxy.java
b/core/java/android/webkit/CallbackProxy.java
index
e504591
..
b051675
100644
(file)
--- a/
core/java/android/webkit/CallbackProxy.java
+++ b/
core/java/android/webkit/CallbackProxy.java
@@
-65,7
+65,8
@@
class CallbackProxy extends Handler {
// Keep track of multiple progress updates.
private boolean mProgressUpdatePending;
// Keep track of the last progress amount.
- private volatile int mLatestProgress;
+ // Start with 100 to indicate it is not in load for the empty page.
+ private volatile int mLatestProgress = 100;
// Back/Forward list
private final WebBackForwardList mBackForwardList;
// Used to call startActivity during url override.