mirror of
https://github.com/lizongying/my-tv.git
synced 2026-11-21 02:46:30 +08:00
auto-startup
This commit is contained in:
@@ -2,6 +2,7 @@ package com.lizongying.mytv
|
||||
|
||||
import android.content.Context
|
||||
import android.content.res.Resources
|
||||
import android.os.Build
|
||||
import android.util.TypedValue
|
||||
import com.google.gson.Gson
|
||||
import com.lizongying.mytv.api.TimeResponse
|
||||
@@ -74,6 +75,8 @@ object Utils {
|
||||
).toInt()
|
||||
}
|
||||
|
||||
fun isTmallDevice() = Build.MANUFACTURER.equals("Tmall", ignoreCase = true)
|
||||
|
||||
/**
|
||||
* 获取可读写的目录
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user