robolectric/robolectric — pull request #946 by therealdpk (2014-02-04 00:25:43+00:00)
Title: Implement OnSharedPreferenceChangeListener callbacks on commit.

The onSharedPreferenceChanged method will be called on all listeners for any keys that changed (or were removed), which matches what the Android API promises. The commit also includes removing a redundant for loop.