OSDN Git Service

Use new SharedPreferences$Editor.apply instead of commit.
authorBrad Fitzpatrick <bradfitz@android.com>
Tue, 7 Sep 2010 00:29:58 +0000 (17:29 -0700)
committerBrad Fitzpatrick <bradfitz@android.com>
Tue, 7 Sep 2010 19:46:54 +0000 (12:46 -0700)
commit4e5aa452a0e2438f9af1f08c56b1a7b414e561d9
treeab8f7621058bf50b75e51eb801b2d8d7de2cc9d4
parent91561bdb6ab42d5a262201fb4044bdc5949ca07c
Use new SharedPreferences$Editor.apply instead of commit.

apply is the new async version when the caller doesn't care about the
return value, but is otherwise identical in observable effects.

BUG=2978683

Change-Id: I82086fc4501da53266802f95bebc624a7217fd8b
src/com/android/camera/ComboPreferences.java
src/com/android/camera/ListPreference.java