Loading
Make a Singleton for ContactListFilterController
Better fix for issue 5165507 "Contacts to Display filter loses its setting when going from People to Phone app". Now the whole app has one instance and People and Phone UIs share it. All notification will be delivered to both Activities, and thus no hack on onStart() will be needed. Also fixes issue 5299160 "Account filter header not updated when account is removed from device". We need to update filter after AccountTypeManager finishes its reload operation. Now filter settings should be saved only from the controller, so this change removes the code saving filter settings to SharedPreferences from Activity/Fragment. Bug: 5165507 Bug: 5299160 Change-Id: I4118271f1a78976af6cb3d432b1dd7b30c18eb7a