mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
[Android] No need to call flush() before closing a stream. close() calls the flush method before actually closing the stream.
This commit is contained in:
parent
05f6226544
commit
6b5f21479e
@ -131,7 +131,6 @@ public final class MainMenuActivity extends PreferenceActivity {
|
||||
new FileOutputStream(new File(dataDir, relativePath)));
|
||||
|
||||
writer.write(asset, 0, asset.length);
|
||||
writer.flush();
|
||||
writer.close();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user