fix: APatch missing in GetInfo daemon action

This commit fixes the missing APatch root implementation detection in "GetInfo" daemon action, causing it to return none.
This commit is contained in:
ThePedroo
2024-06-29 08:49:23 -03:00
parent 2be1ccc48e
commit c2cb29b717

View File

@@ -275,6 +275,7 @@ fn handle_daemon_action(
match root_impl::get_impl() {
root_impl::RootImpl::KernelSU => flags |= ProcessFlags::PROCESS_ROOT_IS_KSU,
root_impl::RootImpl::Magisk => flags |= ProcessFlags::PROCESS_ROOT_IS_MAGISK,
root_impl::RootImpl::APatch => flags |= ProcessFlags::PROCESS_ROOT_IS_APATCH,
_ => panic!("wrong root impl: {:?}", root_impl::get_impl()),
}