mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 13:49:53 -06: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:
@ -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)
|
||||
|
Reference in New Issue
Block a user