summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@android.com>2010-08-25 15:00:25 -0700
committerBrad Fitzpatrick <bradfitz@android.com>2010-08-25 15:00:25 -0700
commit20ddc2054b04d40b4e15e0831d3df02f30b600e8 (patch)
treefb49df80a3341c03ad2bd95d9526484392a1fd72 /src
parentdcd762a819f195fdbd441334ca5b97a07f1aa8dd (diff)
downloadLegacyCamera-20ddc2054b04d40b4e15e0831d3df02f30b600e8.zip
LegacyCamera-20ddc2054b04d40b4e15e0831d3df02f30b600e8.tar.gz
LegacyCamera-20ddc2054b04d40b4e15e0831d3df02f30b600e8.tar.bz2
Add SharedPreferences#startCommit() method.
The interface widened. Change-Id: I3ddf695c3d97b72eab4cfa3abe484db41d79a958
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/ComboPreferences.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/camera/ComboPreferences.java b/src/com/android/camera/ComboPreferences.java
index ab96298..68eb64d 100644
--- a/src/com/android/camera/ComboPreferences.java
+++ b/src/com/android/camera/ComboPreferences.java
@@ -142,6 +142,10 @@ public class ComboPreferences implements SharedPreferences, OnSharedPreferenceCh
return result1 && result2;
}
+ public void startCommit() {
+ commit();
+ }
+
// Note: clear() and remove() affects both local and global preferences.
public Editor clear() {
mEditorGlobal.clear();