package com.gh.common.provider

import android.content.Context
import com.alibaba.android.arouter.facade.annotation.Route
import com.gh.gamecenter.common.constant.RouteConsts
import com.gh.gamecenter.core.provider.IPackagesManagerProvider
import com.gh.gamecenter.manager.PackagesManager

@Route(path = RouteConsts.provider.packagesManager, name = "PackagesManager暴露服务")
class PackagesManagerProviderImpl: IPackagesManagerProvider {
    override fun isCanPluggable(gameId: String?, packageName: String?): Boolean {
        return PackagesManager.isCanPluggable(gameId, packageName)
    }

    override fun init(context: Context?) {
        // Do nothing
    }
}