> This PR updates the screen for each window even for the case where the old > screen has been disposed but there is a new screen instance found for such > window. > > This is the case of Android, where the lifecycle of the application allows > destroying the native screen when the app goes to the background, and > providing a new native screen, in case it comes back to the foreground. > Before this PR, the screen for the window wasn't updated after returning from > the background, and if orientation changes happened, the dimensions were > wrong.
Jose Pereda has updated the pull request incrementally with one additional commit since the last revision: Rollback change, move to new screen created via native if handler changes ------------- Changes: - all: https://git.openjdk.java.net/jfx/pull/778/files - new: https://git.openjdk.java.net/jfx/pull/778/files/233e29c6..6fcbd9be Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jfx&pr=778&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=778&range=00-01 Stats: 40 lines in 4 files changed: 23 ins; 4 del; 13 mod Patch: https://git.openjdk.java.net/jfx/pull/778.diff Fetch: git fetch https://git.openjdk.java.net/jfx pull/778/head:pull/778 PR: https://git.openjdk.java.net/jfx/pull/778