package com.gh.gamecenter.feedback.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.ICheckLoginProvider
import com.gh.gamecenter.feedback.CheckLoginUtils

@Route(path = RouteConsts.provider.checkLogin, name = "CheckLoginUtils暴露服务")
class CheckLoginProviderImpl : ICheckLoginProvider {
    override fun checkLogin(context: Context, entrance: String, action: (() -> Unit)?) {
        CheckLoginUtils.checkLogin(context, entrance, action)
    }

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