This commit is contained in:
kunfei 2022-05-18 19:52:46 +08:00
parent 7f548b9ac6
commit 0b2c81a223

View File

@ -60,7 +60,7 @@ object AppConst {
val sysElevation = appCtx.resources.getDimension(R.dimen.design_appbar_elevation).toInt()
val androidId: String by lazy {
Settings.System.getString(appCtx.contentResolver, Settings.Secure.ANDROID_ID)
Settings.System.getString(appCtx.contentResolver, Settings.Secure.ANDROID_ID) ?: "null"
}
val appInfo: AppInfo by lazy {