19 lines
442 B
Kotlin
19 lines
442 B
Kotlin
package com.sw.dualscreen
|
|
|
|
import com.sw.plate.App
|
|
import com.sw.plate.utils.AppUtil
|
|
import timber.log.Timber
|
|
|
|
class MyApp : App() {
|
|
companion object {
|
|
const val DEBUG: Boolean = true
|
|
}
|
|
|
|
override fun onCreate() {
|
|
super.onCreate()
|
|
Timber.plant(Timber.DebugTree())
|
|
val deviceId = AppUtil.getUDID(this)
|
|
Timber.d("UDID = ${AppUtil.getUDID(this)}")
|
|
GlobalData.deviceId = deviceId
|
|
}
|
|
} |