Skip to content

Commit 9bb55bf

Browse files
author
Ben Murdoch
committed
Force a WebView pictureset invalidation on screen rotation.
This fixes some stale content issues when rotating the screen. Bug: 5357237 Change-Id: Ib41a659ec99419cdf94ad5321c224a33b1f21359
1 parent b48ca1f commit 9bb55bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/java/android/webkit/WebView.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4300,6 +4300,7 @@ protected void onConfigurationChanged(Configuration newConfig) {
43004300
selectionDone();
43014301
}
43024302
mOrientation = newConfig.orientation;
4303+
contentInvalidateAll();
43034304
}
43044305

43054306
/**

0 commit comments

Comments
 (0)