mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 15:17:02 -04:00
maby fix things
This commit is contained in:
parent
98d3c1119d
commit
a47c3a0c7d
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user