Merge "Add DESKTOP_MODE_EXIT_MODE_ON_LAST_WINDOW_CLOSE java mapping" into main