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

Skip to content
Commit 1fc3ef4f authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Copy "Blocked Numbers Activity" from Dialer to Contacts

1. Classes are copied and modified so that they will work in Contacts.
2. BlockedNumbersActivity.java is the main activity.
3. Most copied classes are put in the newly-created "callblocking" package.
4. What's not copied: CachedNumberLookupService, visual voicemail, and
   emergency call. The corresponding features will be implemented based on
   framework change, which is not ready yet.
5. In Dialer, BlockedListSearchFragment extends RegularSearchFragment,
   which extends SearchFragment. These three classes are combined into
   SearchFragment in Contacts.
6. In Dialer, BlockedListSearchAdapter extends RegularSearchListAdapter,
   which extends DialerPhoneNumberListAdapter. These three classes are
   combined into SearchAdapter in Contacts.
7. An intent is specified in AndroidManifest.xml to open
   BlockedNumbersActivity.java

Bug: 26453530
Change-Id: Iec07725fd9aa5a174bb6b306792fa446dcaa4e65
parent f7e02069
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