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
Loading
Please register or sign in to comment