mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-24 13:31:45 -08:00
Fixed #1521
This commit is contained in:
parent
5a5945cc52
commit
30ea039246
2 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ public class AndroidLauncher extends AndroidApplication{
|
|||
if(VERSION.SDK_INT >= VERSION_CODES.Q){
|
||||
Intent intent = new Intent(open ? Intent.ACTION_OPEN_DOCUMENT : Intent.ACTION_CREATE_DOCUMENT);
|
||||
intent.addCategory(Intent.CATEGORY_OPENABLE);
|
||||
intent.setType(extension.equals("zip") ? "application/zip" : "*/*");
|
||||
intent.setType("*/*");
|
||||
addResultListener(i -> startActivityForResult(intent, i), (code, in) -> {
|
||||
if(code == Activity.RESULT_OK && in != null && in.getData() != null){
|
||||
Uri uri = in.getData();
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=0046591e6664a02c2f6a632963240c991e9afc96
|
||||
archash=b2996f736d5b6870913f5d8b5496fe6033069ac8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue