mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-09 18:45:40 +00:00
[Android] Drop commit() for apply()
Apply is asynchronous, and we aren't expecting a return value so there is no reason not to use apply.
This commit is contained in:
parent
a0b54f558e
commit
937caea1c9
@ -54,7 +54,7 @@ public final class AssetCopyService extends IntentService
|
|||||||
SharedPreferences.Editor editor = preferences.edit();
|
SharedPreferences.Editor editor = preferences.edit();
|
||||||
|
|
||||||
editor.putBoolean("assetsCopied", true);
|
editor.putBoolean("assetsCopied", true);
|
||||||
editor.commit();
|
editor.apply();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void copyAsset(String asset, String output, Boolean overwrite)
|
private void copyAsset(String asset, String output, Boolean overwrite)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user