Skip to content

Commit 6bcb459

Browse files
Steve BlockAndroid (Google) Code Review
authored andcommitted
Merge "Improve JavaDoc for WebView.restoreState()"
2 parents cdce0b9 + 4249906 commit 6bcb459

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/java/android/webkit/WebView.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -724,9 +724,9 @@ public boolean restorePicture(Bundle b, File src) {
724724
}
725725

726726
/**
727-
* Restores the state of this WebView from the given map used in
728-
* {@link android.app.Activity#onRestoreInstanceState}. This method should
729-
* be called to restore the state of this WebView before using the object. If
727+
* Restores the state of this WebView from the given Bundle. This method is
728+
* intended for use in {@link android.app.Activity#onRestoreInstanceState}
729+
* and should be called to restore the state of this WebView. If
730730
* it is called after this WebView has had a chance to build state (load
731731
* pages, create a back/forward list, etc.) there may be undesirable
732732
* side-effects. Please note that this method no longer restores the

0 commit comments

Comments
 (0)