package fuck.andes.hook.system

import fuck.andes.core.HookInstallation
import fuck.andes.core.ModuleLogger

import io.github.libxposed.api.XposedModule

internal object SystemServerHooks {

    fun install(
        module: XposedModule,
        logger: ModuleLogger,
        classLoader: ClassLoader
    ): HookInstallation = HookInstallation.combine(
        group = "SystemServer",
        installations = listOf(
            AccessibilityProtectionHooks.install(module, logger, classLoader),
            AssistantManager.install(module, logger, classLoader),
            PowerHooks.install(module, logger, classLoader)
        )
    )
}
