package com.gh.common.provider

import android.content.Context
import com.alibaba.android.arouter.facade.annotation.Route
import com.gh.common.util.FloatingBackViewManager
import com.gh.gamecenter.common.constant.RouteConsts
import com.gh.gamecenter.core.provider.IFloatingBackViewManagerProvider

@Route(path = RouteConsts.provider.floatingBackViewManager, name = "FloatingViewBackManager暴露服务")
class FloatingBackViewManagerProviderImpl : IFloatingBackViewManagerProvider {

    override fun enableBackViewForTaskType() {
        FloatingBackViewManager.enableBackView(FloatingBackViewManager.TYPE_TASK)
    }

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