mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-01 02:09:00 +02:00
[android] Fix update checker crash on release mode (#3909)
R8 minifies the UpdateResult's data class to remove the `Set...` methods, as it's technically not used in Kotlin/Java land. Just force the minifier to keep it Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3909
This commit is contained in:
parent
8765b49512
commit
b537e83bed
2 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,6 @@ android {
|
|||
"-DBUILD_TESTING=OFF",
|
||||
"-DYUZU_TESTS=OFF",
|
||||
"-DDYNARMIC_TESTS=OFF",
|
||||
"-DENABLE_UPDATE_CHECKER=ON",
|
||||
*extraCMakeArgs.toTypedArray()
|
||||
)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -33,6 +33,7 @@ import org.yuzu.yuzu_emu.applets.web.WebBrowser
|
|||
* with the native side of the Yuzu code.
|
||||
*/
|
||||
object NativeLibrary {
|
||||
@Keep
|
||||
data class UpdateResult(
|
||||
var tag: String = "",
|
||||
var title: String = "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue