Code refactor
This commit is contained in:
parent
5ebeb9c587
commit
0ef83c7136
23 changed files with 156 additions and 94 deletions
|
@ -53,6 +53,7 @@ object VersionUtils {
|
|||
/**
|
||||
* @return true if device is running API >= 28
|
||||
*/
|
||||
@JvmStatic
|
||||
fun hasQ(): Boolean {
|
||||
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue