mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-28 10:48:37 +00:00
C++/Rust 2 way binding for MagiskD
This commit is contained in:
@@ -92,7 +92,7 @@ int denylist_cli(int argc, char **argv) {
|
||||
}
|
||||
|
||||
// Send request
|
||||
int fd = connect_daemon(MainRequest::DENYLIST);
|
||||
int fd = connect_daemon(+RequestCode::DENYLIST);
|
||||
write_int(fd, req);
|
||||
if (req == DenyRequest::ADD || req == DenyRequest::REMOVE) {
|
||||
write_string(fd, argv[2]);
|
||||
|
||||
Reference in New Issue
Block a user