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

Commit 53d303dc authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Phone: don't crash when unsupported filter is set

- Unsupported filters, such as FILTER_TYPE_STARRED, could be applied
with deprecated public intents, such as LIST_STARRED_ACTION.

- Don't crash when these are set.  Just treat them as the all filter.
Besides, some of these are 100% valid and there's no reason the
app should crash.  (e.g. FILTER_TYPE_WITH_PHONE_NUMBERS_ONLY)

- Also, make PeopleActivity not set a filter for LIST_FREQUENT_ACTION,
LIST_STREQUENT_ACTION and LIST_STREQUENT_ACTION.  Just showing the favorites
tab should be enough.  (These are all public, but deprecated intents.)

Bug 5265438

Change-Id: I6c6d0ec3279f174907844706ef3527f10bf47bbd
parent e050438f
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