Skip to content

Commit be29a46

Browse files
committed
android: check for A16 on OP/Oppo devices
1 parent 7461f7d commit be29a46

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

android/app/src/main/java/me/kavishdevar/librepods/utils/RootlessSupport.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ package me.kavishdevar.librepods.utils
2020

2121
import android.content.SharedPreferences
2222
import android.os.Build
23-
import me.kavishdevar.librepods.BuildConfig
2423

2524
fun isSupported(sharedPreferences: SharedPreferences): Boolean {
2625
val isPixel = Build.MANUFACTURER.lowercase() == "google"
@@ -37,7 +36,7 @@ fun isSupported(sharedPreferences: SharedPreferences): Boolean {
3736
}
3837
}
3938
} else if (isOppoOrOnePlus) {
40-
return true
39+
return Build.VERSION.SDK_INT == 36
4140
}
4241
return sharedPreferences.getBoolean("bypass_device_check", false)
4342
}

0 commit comments

Comments
 (0)