Move ContactListFilterListener back to PeopleActivity
- It's not a good idea to put the listener in a fragment since
we need to do a lot in PeopleActivity when filter changes, and
filter may change when fragment is not added (and this is when
b/31838582 happens).
- Change the style of ProviderStatusListener.
Bug: 31838582
Bug: 31829161
Bug: 30944495
Test: manual
- follow steps to repro in the first 2 bugs
- navigate between fragments
- Add a contact to an account w/o contact and remove the only contact
from it, to make sure ProviderStatusListener works.
Change-Id: Ie45065152db67bf2c7c7873a72038c6f1145d678
3 files changed