Skip to content

Commit

Permalink
Padding fix for android 8.1 and 9.0
Browse files Browse the repository at this point in the history
Padding fix for android 8.1 and 9.0
  • Loading branch information
WesleyVanNeck authored Sep 17, 2020
2 parents ad5c86b + 765936d commit 729b228
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/net/kdt/pojavlaunch/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -1272,8 +1272,8 @@ private static synchronized Map<Provider, Provider.Service> getCipherServicesMap
ProviderList providerList = Providers.getProviderList();
Map<Provider, Provider.Service> services = null;

// Android 10
if (Build.VERSION.SDK_INT >= 29) {
// Android 8.1.0 and above
if (Build.VERSION.SDK_INT >= 27) {
services = new ArrayMap<>();
Provider.Service service = providerList.getService(type, algorithm);
services.put(service.getProvider(), service);
Expand Down

0 comments on commit 729b228

Please sign in to comment.