Skip to content

Commit

Permalink
add server support to 6.0 up to 11.0 [not tested]
Browse files Browse the repository at this point in the history
  • Loading branch information
WesleyVanNeck authored Sep 27, 2020
1 parent d7b9afb commit 383fdeb
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 8.1.0 and above
if (Build.VERSION.SDK_INT >= 27) {
// Android 6.0.0 and above
if (Build.VERSION.SDK_INT >= 24) {

This comment has been minimized.

Copy link
@khanhduytran0

khanhduytran0 Oct 3, 2020

Member

API level 24 is mean for Android 7.

services = new ArrayMap<>();
Provider.Service service = providerList.getService(type, algorithm);
services.put(service.getProvider(), service);
Expand Down

0 comments on commit 383fdeb

Please sign in to comment.