fix: 修复合并[https://git.shanqu.cc/halo/android/assistant-android/-/merge_requests/1754]漏了部分模块修改
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
package com.gh.gamecenter.floatingwindow
|
||||
|
||||
import android.app.Application
|
||||
import android.content.Context
|
||||
import android.content.res.Configuration
|
||||
import com.gh.gamecenter.core.iinterface.IApplication
|
||||
import com.google.auto.service.AutoService
|
||||
@ -8,7 +9,7 @@ import com.google.auto.service.AutoService
|
||||
@AutoService(IApplication::class)
|
||||
class HaloApp : IApplication {
|
||||
|
||||
override fun attachBaseContext() {
|
||||
override fun attachBaseContext(base: Context) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
package com.gh.gamecenter.jg.push
|
||||
|
||||
import android.app.Application
|
||||
import android.content.Context
|
||||
import android.content.res.Configuration
|
||||
import com.gh.gamecenter.core.iinterface.IApplication
|
||||
import com.google.auto.service.AutoService
|
||||
@ -8,7 +9,7 @@ import com.google.auto.service.AutoService
|
||||
@AutoService(IApplication::class)
|
||||
class HaloApp : IApplication {
|
||||
|
||||
override fun attachBaseContext() {
|
||||
override fun attachBaseContext(base: Context) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
package com.gh.gamecenter.feedback
|
||||
|
||||
import android.app.Application
|
||||
import android.content.Context
|
||||
import android.content.res.Configuration
|
||||
import com.gh.gamecenter.core.iinterface.IApplication
|
||||
import com.google.auto.service.AutoService
|
||||
@ -8,7 +9,7 @@ import com.google.auto.service.AutoService
|
||||
@AutoService(IApplication::class)
|
||||
class HaloApp : IApplication {
|
||||
|
||||
override fun attachBaseContext() {
|
||||
override fun attachBaseContext(base: Context) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
package com.gh.gamecenter.oaid
|
||||
|
||||
import android.app.Application
|
||||
import android.content.Context
|
||||
import android.content.res.Configuration
|
||||
import com.gh.gamecenter.core.iinterface.IApplication
|
||||
import com.google.auto.service.AutoService
|
||||
@ -8,7 +9,7 @@ import com.google.auto.service.AutoService
|
||||
@AutoService(IApplication::class)
|
||||
class HaloApp : IApplication {
|
||||
|
||||
override fun attachBaseContext() {
|
||||
override fun attachBaseContext(base: Context) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
package com.gh.gamecenter.pkg
|
||||
|
||||
import android.app.Application
|
||||
import android.content.Context
|
||||
import android.content.res.Configuration
|
||||
import com.gh.gamecenter.core.iinterface.IApplication
|
||||
import com.google.auto.service.AutoService
|
||||
@ -8,7 +9,7 @@ import com.google.auto.service.AutoService
|
||||
@AutoService(IApplication::class)
|
||||
class HaloApp : IApplication {
|
||||
|
||||
override fun attachBaseContext() {
|
||||
override fun attachBaseContext(base: Context) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
|
||||
@ -1,7 +1,9 @@
|
||||
package com.gh.gamecenter.qqmini
|
||||
|
||||
import android.app.Application
|
||||
import android.content.Context
|
||||
import android.content.res.Configuration
|
||||
import com.gh.gamecenter.common.utils.doOnMainProcessOnly
|
||||
import com.gh.gamecenter.core.iinterface.IApplication
|
||||
import com.google.auto.service.AutoService
|
||||
|
||||
@ -12,13 +14,15 @@ class HaloApp : IApplication {
|
||||
lateinit var INSTANCE: Application
|
||||
}
|
||||
|
||||
override fun attachBaseContext() {
|
||||
override fun attachBaseContext(base: Context) {
|
||||
|
||||
}
|
||||
|
||||
override fun onCreate(application: Application) {
|
||||
INSTANCE = application
|
||||
MiniGameWebViewUtils.handleWebViewDir(application)
|
||||
doOnMainProcessOnly {
|
||||
MiniGameWebViewUtils.handleWebViewDir(application)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
package com.gh.gamecenter.message
|
||||
|
||||
import android.app.Application
|
||||
import android.content.Context
|
||||
import android.content.res.Configuration
|
||||
import com.gh.gamecenter.core.iinterface.IApplication
|
||||
import com.google.auto.service.AutoService
|
||||
@ -8,7 +9,7 @@ import com.google.auto.service.AutoService
|
||||
@AutoService(IApplication::class)
|
||||
class HaloApp : IApplication {
|
||||
|
||||
override fun attachBaseContext() {
|
||||
override fun attachBaseContext(base: Context) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user