Skip to content

Commit e8b05e8

Browse files
committed
Force a WebView pictureset reset on screen rotation.
This fixes some stale content issues when rotating the screen. Bug: 5357237 Bug: 5361852 Change-Id: I574dac15dbb1a35a8830377848f38ba2b766f095
1 parent 5132fa6 commit e8b05e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/webkit/WebView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4308,7 +4308,7 @@ protected void onConfigurationChanged(Configuration newConfig) {
43084308
selectionDone();
43094309
}
43104310
mOrientation = newConfig.orientation;
4311-
contentInvalidateAll();
4311+
mWebViewCore.sendMessage(EventHub.CLEAR_CONTENT);
43124312
}
43134313

43144314
/**

0 commit comments

Comments
 (0)