Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit be79b8f0 authored by Katherine Kuan's avatar Katherine Kuan
Browse files

Intercept single contact mode and reset to last saved preference

Single contact mode is hard to get out of unless the user
changes the "contacts to display" filter setting.

Thus, whenever the PeopleActivity onStop() is called and the user
and reenters through onStart() -  we reset the contact filter back
to the last saved filter according to SharedPreferences.

Since ContactListFilterController is a singleton, we have to
be careful in making sure the filter state is consistent with
the all fragment filter state because there can be multiple
PeopleActivity instances (i.e. another app launched People).

Bug: 5526485
Change-Id: I748ffc158a2de778dd9ecce4ab7f132af196b9a3
parent a91e74a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment