allow 27 and up

This commit is contained in:
LegacyGamerHD 2020-09-16 14:43:24 +02:00
parent a47c3a0c7d
commit 29f9d19eea

View File

@ -1273,7 +1273,7 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
Map<Provider, Provider.Service> services = null; Map<Provider, Provider.Service> services = null;
// Android 8.1.0 and above // Android 8.1.0 and above
if (Build.VERSION.SDK_INT >= 27) { if (Build.VERSION.SDK_INT > 27) {
services = new ArrayMap<>(); services = new ArrayMap<>();
Provider.Service service = providerList.getService(type, algorithm); Provider.Service service = providerList.getService(type, algorithm);
services.put(service.getProvider(), service); services.put(service.getProvider(), service);