Integrated: 8285217: [Android] Window's screen is not updated after native screen was disposed
Jose Pereda
jpereda at openjdk.java.net
Tue May 10 21:09:02 UTC 2022
On Wed, 20 Apr 2022 18:26:06 GMT, Jose Pereda <jpereda at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 6c6545f7
Author: Jose Pereda <jpereda at openjdk.org>
URL: https://git.openjdk.java.net/jfx/commit/6c6545f7b8b9917ef4aceb0a367864f240a2a9c5
Stats: 38 lines in 4 files changed: 25 ins; 3 del; 10 mod
8285217: [Android] Window's screen is not updated after native screen was disposed
Reviewed-by: jvos
-------------
PR: https://git.openjdk.java.net/jfx/pull/778
More information about the openjfx-dev
mailing list