sdl_java_suite
sdl_java_suite copied to clipboard
SystemRequest should improve support for previous SDL versions
SystemRequest includes support for legacy encodedSyncPData, but it isn't handled very well.
There is simply an extra constructor that takes in a boolean, ignores the boolean value and assumes the object should be a "legacy" object. This information is not used for anything other than the function id name.
The RPC should have access to the SDL version and can handle the underlying data according to the version of SDL, not according to an arbitrary boolean that is ignored in an unneeded constructor.