Update android-activity crate to master.

This commit is contained in:
TÖRÖK Attila 2023-08-03 13:34:12 +02:00
parent 3676e96c88
commit c680e52b02
2 changed files with 21 additions and 3 deletions

22
native/Cargo.lock generated
View File

@ -94,6 +94,24 @@ dependencies = [
"num_enum 0.6.1",
]
[[package]]
name = "android-activity"
version = "0.4.3"
source = "git+https://github.com/rust-mobile/android-activity.git?rev=ed2dc53ee47659d84ed1e4f2ab1764dc42c23026#ed2dc53ee47659d84ed1e4f2ab1764dc42c23026"
dependencies = [
"android-properties",
"bitflags 2.3.3",
"cc",
"cesu8",
"jni-sys",
"libc",
"log",
"ndk",
"ndk-context",
"ndk-sys",
"num_enum 0.6.1",
]
[[package]]
name = "android-properties"
version = "0.2.2"
@ -2451,7 +2469,7 @@ checksum = "216080ab382b992234dda86873c18d4c48358f5cfcb70fd693d7f6f2131b628b"
name = "ruffle-android"
version = "0.1.0"
dependencies = [
"android-activity",
"android-activity 0.4.3 (git+https://github.com/rust-mobile/android-activity.git?rev=ed2dc53ee47659d84ed1e4f2ab1764dc42c23026)",
"android_logger",
"async-channel",
"generational-arena",
@ -3795,7 +3813,7 @@ version = "0.28.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "866db3f712fffba75d31bf0cdecf357c8aeafd158c5b7ab51dba2a2b2d47f196"
dependencies = [
"android-activity",
"android-activity 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
"bitflags 1.3.2",
"cfg_aliases",
"core-foundation",

View File

@ -10,7 +10,7 @@ crate-type = ["lib", "cdylib"]
[dependencies]
wgpu = "0.16.3"
android-activity = { version = "0.4.3", features = ["game-activity"] }
android-activity = { git = "https://github.com/rust-mobile/android-activity.git", rev = "ed2dc53ee47659d84ed1e4f2ab1764dc42c23026", features = ["game-activity"] }
winit = { version = "0.28.6", features = ["android-game-activity"] }
ndk = { version = "0.7.0", features = ["audio"]}
log = "0.4.19"