mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07: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();
|
||||
|
||||
editor.putBoolean("assetsCopied", true);
|
||||
editor.commit();
|
||||
editor.apply();
|
||||
}
|
||||
|
||||
private void copyAsset(String asset, String output, Boolean overwrite)
|
||||
|
Loading…
Reference in New Issue
Block a user