mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-18 07:57:02 +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",
|
"-DBUILD_TESTING=OFF",
|
||||||
"-DYUZU_TESTS=OFF",
|
"-DYUZU_TESTS=OFF",
|
||||||
"-DDYNARMIC_TESTS=OFF",
|
"-DDYNARMIC_TESTS=OFF",
|
||||||
"-DENABLE_UPDATE_CHECKER=ON",
|
|
||||||
*extraCMakeArgs.toTypedArray()
|
*extraCMakeArgs.toTypedArray()
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@ import org.yuzu.yuzu_emu.applets.web.WebBrowser
|
||||||
* with the native side of the Yuzu code.
|
* with the native side of the Yuzu code.
|
||||||
*/
|
*/
|
||||||
object NativeLibrary {
|
object NativeLibrary {
|
||||||
|
@Keep
|
||||||
data class UpdateResult(
|
data class UpdateResult(
|
||||||
var tag: String = "",
|
var tag: String = "",
|
||||||
var title: String = "",
|
var title: String = "",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue