maby fix things

This commit is contained in:
LegacyGamerHD 2020-09-16 14:22:09 +02:00
parent 98d3c1119d
commit a47c3a0c7d

View File

@ -1272,8 +1272,8 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
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);