package com.gh.common.provider

import android.content.Context
import com.therouter.router.Route
import com.gh.common.DefaultUrlHandler
import com.gh.gamecenter.common.constant.RouteConsts
import com.gh.gamecenter.core.provider.IDefaultUrlHandlerProvider

@com.therouter.inject.ServiceProvider
class DefaultUrlHandlerProviderImpl : IDefaultUrlHandlerProvider {

    override fun interceptUrl(
        context: Context,
        url: String,
        entrance: String,
        bringAppToFront: Boolean,
        sourceEntrance: String
    ): Boolean {
        return DefaultUrlHandler.interceptUrl(context, url, null, entrance, bringAppToFront, sourceEntrance)
    }

}
