Skip to content

Commit

Permalink
Merge pull request #27 from RedMadRobot/fix/change_the_condition
Browse files Browse the repository at this point in the history
Change the condition for workaround
  • Loading branch information
osipxd authored Aug 2, 2022
2 parents c69e616 + 6339ebf commit 97b2e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pinkman/src/main/java/com/redmadrobot/pinkman/Pinkman.kt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class Pinkman(
.apply {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
// FIXME: Dirty workaround. Waiting for a fix https://issuetracker.google.com/issues/191391068?pli=1
val isDeviceSecure = if (Build.VERSION.SDK_INT == 31) {
val isDeviceSecure = if (Build.VERSION.SDK_INT >= 31) {
false
} else {
isDeviceSecure()
Expand Down

0 comments on commit 97b2e89

Please sign in to comment.