We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7461f7d commit be29a46Copy full SHA for be29a46
1 file changed
android/app/src/main/java/me/kavishdevar/librepods/utils/RootlessSupport.kt
@@ -20,7 +20,6 @@ package me.kavishdevar.librepods.utils
20
21
import android.content.SharedPreferences
22
import android.os.Build
23
-import me.kavishdevar.librepods.BuildConfig
24
25
fun isSupported(sharedPreferences: SharedPreferences): Boolean {
26
val isPixel = Build.MANUFACTURER.lowercase() == "google"
@@ -37,7 +36,7 @@ fun isSupported(sharedPreferences: SharedPreferences): Boolean {
37
36
}
38
39
} else if (isOppoOrOnePlus) {
40
- return true
+ return Build.VERSION.SDK_INT == 36
41
42
return sharedPreferences.getBoolean("bypass_device_check", false)
43
0 commit comments