kode untuk memeriksa versi build android
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q){
//do something
}
Coder Thirteen
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q){
//do something
}