mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-10-06 14:09:58 +00: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:
@@ -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 = "",
|
||||||
|
|||||||
Reference in New Issue
Block a user