mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-13 23:00:45 -04:00
allow 27 and up
This commit is contained in:
parent
a47c3a0c7d
commit
29f9d19eea
@ -1273,7 +1273,7 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
|
||||
Map<Provider, Provider.Service> services = null;
|
||||
|
||||
// Android 8.1.0 and above
|
||||
if (Build.VERSION.SDK_INT >= 27) {
|
||||
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