Use SharedPreferences$Editor.apply() instead of commit() when possible.

Change-Id: Ic609c6693effcdd16acc7383d9fb4834186dd25e
3 files changed