mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-05 18:30:22 -08:00
Fixed Android save export 'corruption'
This was caused by downright atrocious default Android API behavior. Read https://issuetracker.google.com/issues/180526528?pli=1
This commit is contained in:
parent
bf61e4d6c2
commit
30da4c0f47
1 changed files with 1 additions and 1 deletions
|
|
@ -160,7 +160,7 @@ public class AndroidLauncher extends AndroidApplication{
|
||||||
@Override
|
@Override
|
||||||
public OutputStream write(boolean append){
|
public OutputStream write(boolean append){
|
||||||
try{
|
try{
|
||||||
return getContentResolver().openOutputStream(uri);
|
return getContentResolver().openOutputStream(uri, "rwt");
|
||||||
}catch(IOException e){
|
}catch(IOException e){
|
||||||
throw new ArcRuntimeException(e);
|
throw new ArcRuntimeException(e);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue