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
2 files changed