mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-14 12:12:26 +00:00
Directly guard boot state with mutex
This commit is contained in:
@@ -57,7 +57,7 @@ pub mod ffi {
|
||||
|
||||
#[cxx_name = "MagiskD"]
|
||||
type CxxMagiskD;
|
||||
fn post_fs_data(self: &CxxMagiskD);
|
||||
fn post_fs_data(self: &CxxMagiskD) -> bool;
|
||||
fn late_start(self: &CxxMagiskD);
|
||||
fn boot_complete(self: &CxxMagiskD);
|
||||
}
|
||||
@@ -87,7 +87,6 @@ pub mod ffi {
|
||||
fn is_emulator(self: &MagiskD) -> bool;
|
||||
fn is_recovery(self: &MagiskD) -> bool;
|
||||
fn boot_stage_handler(self: &MagiskD, client: i32, code: i32);
|
||||
fn enable_safe_mode(self: &MagiskD);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user