Skip to content

Commit

Permalink
Adjusted affected versions to include Android M
Browse files Browse the repository at this point in the history
  • Loading branch information
Steppschuh committed Feb 22, 2021
1 parent 3a28a4e commit c29f359
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ protected Single<Cipher> getCipherInstance() {
// due to an issue on older Android SDK versions, we need to use the default provider
// when requesting a cipher instance instead of the AndroidKeyStore provider.
// See https://github.com/neXenio/RxKeyStore/issues/23
boolean isAffectedAndroidVersion = Build.VERSION.SDK_INT < Build.VERSION_CODES.M;
boolean isAffectedAndroidVersion = Build.VERSION.SDK_INT <= Build.VERSION_CODES.M;
boolean isAffectedProvider = rxKeyStore.getProvider().equals(RxKeyStore.PROVIDER_ANDROID_KEY_STORE);
useDefaultProvider = isAffectedAndroidVersion && isAffectedProvider;
}
Expand Down

0 comments on commit c29f359

Please sign in to comment.