Feat: EventBus

This commit is contained in:
xiaozhou233 committed 2026-04-04 21:42:15 +08:00
1 parent a64bbb8bb8
commit 49d2499f73
7 files changed
+176 -43

No files matched your search

+4
View File
@@ -1,5 +1,6 @@
#include <libagent.hpp>
#include <jni_impl.hpp>
#include <bytecodes_opt.hpp>
namespace JuiceAgent {
// ===== Singleton =====
@@ -60,6 +61,9 @@ namespace JuiceAgent {
PLOGE << "Failed to enable event notification: " << result;
}
// register bytecodes_opt
JuiceAgent::Bytecodes::register_bytecodes();
return true;
}
}