Files
frameworks_base/core/java/android/content
Brad Fitzpatrick dd644c179c Fallback to SharedPreferences$Editor.commit() when no apply() exists.
Gingerbread widened the SharedPreferences.Editor interface, adding an
apply() method.  Most people don't implement this interface
themselves, but a couple apps do.

A few spots in the core framework take a SharedPreferences[.Editor]
from apps, which might be a pre-Gingerbread implementation without an
apply() method.  This patch makes sure we never depend on the presence
of an apply() method, falling back to commit() if apply() isn't
available.

Change-Id: I32693ac9227a60b694526a26a30234fb17a40581
2010-10-10 15:26:24 -07:00
..
2009-11-13 13:53:39 -08:00
2009-11-13 13:53:39 -08:00
2010-09-28 22:36:27 -07:00
2010-02-09 14:20:55 -08:00
2009-11-13 13:53:39 -08:00
2009-11-13 13:53:39 -08:00
2010-02-05 15:16:20 -08:00
2010-02-05 15:16:20 -08:00
2010-03-04 11:52:14 -08:00
2009-11-13 13:53:39 -08:00
2009-11-13 13:53:39 -08:00
2009-11-13 13:53:39 -08:00
2010-09-13 17:12:51 -07:00
2010-04-27 11:21:53 -07:00
2010-04-27 11:21:53 -07:00
2010-02-05 15:16:20 -08:00
2009-11-13 13:53:39 -08:00