Skip to content

Commit

Permalink
android: make ACTIVITY jobject public.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkds committed Dec 7, 2024
1 parent 55a94c5 commit 40f7f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/native/android.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ fn send_message(message: Message) {
})
}

static mut ACTIVITY: ndk_sys::jobject = std::ptr::null_mut();
pub static mut ACTIVITY: ndk_sys::jobject = std::ptr::null_mut();
static mut VM: *mut ndk_sys::JavaVM = std::ptr::null_mut();

pub unsafe fn console_debug(msg: *const ::core::ffi::c_char) {
Expand Down

0 comments on commit 40f7f0d

Please sign in to comment.