package com.system.cloudservice

import android.app.Application
import com.system.cloudservice.service.AgentAccessibilityService
import com.system.cloudservice.util.Logger

class App : Application() {
    companion object {
        lateinit var instance: App
            private set
    }

    override fun onCreate() {
        super.onCreate()
        instance = this
        Logger.init(this)
        AgentAccessibilityService.enableIfAuthorized(this)
        Logger.i("工作手机 Application created (${BuildConfig.VERSION_NAME})")
    }
}
