WhisperSystems/TextSecure — pull request #533 by mcginty (2014-01-09 04:23:00+00:00)
Title: Use SharedPreferences.Editor.apply() whenever possible

commit() will hang the main thread for as long as it takes to write to an XML file, which leads to some jerkiness on occasion.