As docs say,
Unlike commit(), which writes its preferences out to persistent storage synchronously, apply() commits its changes to the in-memory SharedPreferences immediately but starts an asynchronous commit to disk and you won't be notified of any failures.
Does it mean, that in case of some failure (e. g. free space shortage), my SharedPreferences will just revert to previous state, and won't create any exceptions? Will my app crash?