Use new SharedPreferences$Editor.apply() instead of commit().

apply() starts an async disk write and doesn't have a return value but
is otherwise identical in observable effects.

Change-Id: Icd6065e9ef650f80a93e1397bfd6300edc2670c0
2 files changed