History log of /packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cc5ea443781c1d503f93d29b947e01bc85092f28 21-Mar-2017 Wenyi Wang <wenyiw@google.com> Only consume key event if the drawer is closed.

Bug: 34343480

Test: press non-arrow/tab keys when drawer is open and make sure
search mode is not activated.

Change-Id: I62eed89d519223362ed6c36cbac3dd9855be135a
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
cea82125731e5068782c6907483aaab2eba5bef6 05-Jan-2017 Walter Jang <wjang@google.com> Remove Yenta (1/2)

This reverts commit f61f0ee8c71c7bfee6d81ecf362b3df362ba96f1
This reverts commit f0f25f549389293a00ce107b3937f975bc82b988

Test: see Ied562bbf4fface5d3c57eb9b24e834f65b6ec9b2
Bug: 34107138

Change-Id: I000ab52bc356e377fa0f480c22d60453a07755ed
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
f0f25f549389293a00ce107b3937f975bc82b988 05-Jan-2017 Walter Jang <wjang@google.com> Restart default directory loader after yenta search deletes

Test: manually delete search results 1) using multi-select and
2) from QuickContact with populous both on and off.
Bug: 33643057
Change-Id: I58514c46722c775ce3b319d1665a982a8918e056
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
d9c6188c6dd2295b5a72bb27df8fcc7ccff922d9 04-Jan-2017 Walter Jang <wjang@google.com> Merge "Fix logging successful search events" into ub-contactsdialer-i-dev
4b0c1c158c0dd6854ca10b09e7028faec9a7f398 04-Jan-2017 Walter Jang <wjang@google.com> Fix logging successful search events

Test: manually test that success and abandon
search events are logged to clearcut
Bug: 34080070

Change-Id: Ic699f707f9faa53351713ffbaaaeeff30a82b20f
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
917cb4aae63f46ebc1e791e02dc3909d5f6c2c4d 14-Dec-2016 Wenyi Wang <wenyiw@google.com> [DO NOT MERGE] Merge ContactsDrawerActivity and PeopleActivity (1/2)

- Created by cherry-picking Ia67586501836af6a8bef633c682480d94e2c1869
and resolving conflicts so as to reduce merge conflict to master-dev.
- Downgraded visibility of many methods and variables to private.
- Rename mAllFragment as mContactsListFragment

Bug: 34066506

Test: quick sanity test

Change-Id: I13b20b078a42de50c69bee2b3abc97c72335c607
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
bed1a47d6212661c8a871ae140c7c90c821b6421 23-Dec-2016 Wenyi Wang <wenyiw@google.com> Update overflow menu color
am: cfa427a2c2

Change-Id: I798bdb97d08ad75f5402397a7cc336c4927fba06
cfa427a2c2c5bfda01f3552b1b43b0c818dfa52a 23-Dec-2016 Wenyi Wang <wenyiw@google.com> Update overflow menu color

- when contacts list is loaded and when selected contacts changed

Bug: 33844869

Test: manually verified overflow menu is in correct color in multi-
window mode and on screen rotation.

Change-Id: I2c15f5d37fe8899d37abc05e9bd01167ec489ca1
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
a181ca6021333cbb96ff9a6abeec9e64ea19c7f9 21-Dec-2016 Marcus Hagerott <mhagerott@google.com> Replace several usages for of AccountTypeManager.getAccounts

Test: Ran GoogleContactsTests

Bug 33627801

Change-Id: Ifde6c5f314558159bb468c92fa38b20a8d90bf06
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
b697ed768fb817f94524f6c3992547665df331c4 21-Dec-2016 Marcus Hagerott <mhagerott@google.com> Replace switches on resources with if-else

This is necessary for the project to build as an Android library which
is planned for Google3.

Test: ran GoogleContactsTests

Bug 33782320

Change-Id: I62f15486b7e976bb20a6e9c631dc8404a4170dbb
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
bd9ef3c60669d71543b3506d4959c1fe4be409dc 15-Dec-2016 John Shao <johnshao@google.com> Standardize and replace assets with vectors

Standarize naming of vector drawables and replace png
assets with vector drawables.

Test: build and run GoogleContactsTests
manual side by side sanity check with previous version

Bug: 33251913
Change-Id: Iafea5c1bba738c57437888da999fc2909d0765fd
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
0a49afa2ad697307cc04ef4cb86570574fa720f2 06-Dec-2016 Gary Mai <garymai@google.com> Collapse common package (2/2)

Ran optimize imports on the project as well to re-order everything
which would have changed because of removing common.

Test: Built GoogleContacts, GoogleContactsTests, Contacts,
ContactsTests and ran unit tests.

Bug: 33252370
Change-Id: I881f0ba8b8fef002b6eeefa9a16b34f15b2fd2a9
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
69c182afb0e6d82a341a28b4317aa703af768906 05-Dec-2016 Gary Mai <garymai@google.com> Collapse common packages (1/?)

Move the majority of packages out of common. When trying to move
common.activity to activities every file switched from a rename to
separated deletes and adds. Will move tests and the rest of common
in a separate CL.

Test: Built GoogleContacts, Contacts, GoogleContactsTests,
ContactsTests.

Bug: 33252370
Change-Id: I9ffb20038dee255ef5f83002b7870265771b08c5
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
c3857fad838de15e6bf58ccf46d10f0fdc9e3aaa 08-Nov-2016 Wenyi Wang <wenyiw@google.com> Fix crash after revoking all app permissions

Bug: 32147415

Test: follow steps to repro in b/32147415.

Change-Id: Ib7c63ef86299b6d18ad3e9c80fe4e350cf3102d5
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
9adc9ef59dd668a92dee7f913733a188eadde8b3 03-Nov-2016 Walter Jang <wjang@google.com> Remove flags for removed opt-in server studies (1/2)

Test: check that features are enabled even when prefs files
contains stale flag to turn the feature off.
Bug: 32623647

Change-Id: I4e1f06a9355d4befd7ff17600844b2c5786825c0
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
1842bb2d35ea9d2d1f5d064448610906f872b74f 20-Oct-2016 James Laskey <laskey@google.com> Fix crash when changing customized list setting

Bug: 31838582
Test: Manual testing on nexus 6p following repro steps observing no
crash.

Change-Id: I5b9785a759bd4513237e859862ae0fb711173feb
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
df86ede2101d902eb95838adf4176c89d9263c89 19-Oct-2016 Walter Jang <wjang@google.com> Update phenotype usage for GMS V4 (1/2)

Test: see ag/1555402
Bug: 31989967
Bug: 26400050
Change-Id: I806129e8593e091e2aa120e530d588efa5a0d508
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
395c3f8bafa89578d4559cf108eb668040e5ac93 18-Oct-2016 yaolu <yaolu@google.com> Show error when user pulls to refresh without network connection

Bug: 32012818
Test: Manually test when network is connected/not connected.
Change-Id: Ic6aabc8c52dca0886f28dda136f7e6e265cfe1f5
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
9d99859f8a11be8c9966157cedf840a237bd0843 15-Oct-2016 yaolu <yaolu@google.com> Show spinner only when user pulls down (1/2)

1. show spinner only when user pulls down;
2. stop showing spinner if sync is not finished after 30s;
3. add max time to show spinner into Flags.

Bug: 28625097
Bug: 31993722

Test: Manually verified scenarios:
Only pulling down can trigger spinner to show up, spinner won't be
shown for any other background sync(add/remove account, edit contacts);
refresh an account with over 2000 contacts, spinner disappears after
30s;
refresh without internet connection, spinner disappears after 30s;
refresh twice within 30s, spinner disappears after 30s since the second
refreshing.

Change-Id: Ib88c14a40fc8787527baa9d5ac99da910fdd352b
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
491cca577389d6b38f969a167f817f5f3a1013d4 30-Sep-2016 yaolu <yaolu@google.com> Show sync-off alert

In all contacts list:
alert user when global sync is off if user never dismissed before,
until sync setting is toggled on then off again.

In account view:
when global sync is off, show alert with the same logic for all
contacts list;
when global sync is on, alert user when contacts sync for this account
is off if user never dismissed before, until contacts sync is toggled
on then off again.

Bug: 31755559

Test: Manually tested the scenarios:
1) Add/remove account,
2) switch between all contacts list, account view, and label views,
3) update contacts information,
3) turn on sync/dismiss from alert,
when global sync is on/off, contacts syncs are all on/off, contacts
sync is on/off for a particular account.

Change-Id: Id5001847270d5a984942c63a42edb5f9401bc2c2
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
4cc72d52345dbd5d0736101d052e4f78f6b96c37 06-Oct-2016 Wenyi Wang <wenyiw@google.com> Don't show welcome screen when talkback is on and on pre-L-MR1

- This is a workaround.

Bug: 31180524

Test: manual - welcome screen is not shown if we are on Lollipop
and Talkbak is on.

Change-Id: I02636d2d5f305b9d0281f5a6cce88af79573b847
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
cfe94650934ec079a1f69138334f546defc5e49c 04-Oct-2016 Wenyi Wang <wenyiw@google.com> Set action bar title in fragment rather than PeopleActivity

Bug: 31920908
Bug: 30944495

Test: manual - follow steps to repro in the bug and navigate b/w
fragments (tested all acounts incl. Device).

Change-Id: I085628bd98685f9d1f07cf3c526d36b4127f5376
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
f2b7bf31d2f4a71e8e37e48aefe84fe2ea8948be 02-Oct-2016 Wenyi Wang <wenyiw@google.com> Merge "Set directory search mode earlier"
e8e746bb4fed4f010c3103151393bb15f29178a4 01-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Guard against null data cursor before binding list header"
a773fb92493ba4f75832b8443f9b6111f5c66e4a 01-Oct-2016 Walter Jang <wjang@google.com> Guard against null data cursor before binding list header

Test: see Ie0842b1a3809953b44464ce5268b393183bc4888
Bug: 30919642
Change-Id: I8604a0aa764af4253891b662cfdd4770d05b7066
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
72b0f455878e1296fdb57d72449af73f84e34f1b 01-Oct-2016 Wenyi Wang <wenyiw@google.com> Set directory search mode earlier

* The cause of the crash is that in ag/1424283 we set directory search
mode in onResume in fragment (rather than before onStart), so loader
and adapter gets old directory search mode (0). Then it will invoke
DirectoryListLoader.getDefaultDirectories and IllegalArgumentException
is thrown.

* We set it earlier now so that loader and adapter will set it correctly
accordingly, which is consistent with the logic prior to ag/1424283.

Bug: 31778407

Test: manual:
- follow steps to reproduce in the bug
- verify search actions in tests APK work well

Change-Id: I5b2eaeaac5f3d1b45b9f9be722b76d94035a51e5
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
32912ebfdf65963acb22324bc4120cacffec3c75 30-Sep-2016 Wenyi Wang <wenyiw@google.com> Move ContactListFilterListener back to PeopleActivity

- It's not a good idea to put the listener in a fragment since
we need to do a lot in PeopleActivity when filter changes, and
filter may change when fragment is not added (and this is when
b/31838582 happens).
- Change the style of ProviderStatusListener.

Bug: 31838582
Bug: 31829161
Bug: 30944495

Test: manual
- follow steps to repro in the first 2 bugs
- navigate between fragments
- Add a contact to an account w/o contact and remove the only contact
from it, to make sure ProviderStatusListener works.

Change-Id: Ie45065152db67bf2c7c7873a72038c6f1145d678
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
0396cf7a2b80c4cb1a63e4fdc8d60a1cf6f486f5 21-Sep-2016 Walter Jang <wjang@google.com> Consolidate utility methods to start QuickContact (1/2)

Test: Manually start QuickContact from
1. DefaultContactBrowseListFragment
2. Me profile (preferences)
3. Group members
4. Duplicates (with result)
5. Editor (after save)
6. Shortcuts

Bug: 31666272

Change-Id: I0ad41bdefb69bcc680488dd39e74f02b2b8a4c65
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
a730d9dcda9197fe190b4beea4d3c6ad8adb61e3 17-Sep-2016 Wenyi Wang <wenyiw@google.com> Flip mFromOnNewIntent to false after configuring fragment

- We need to change it to false so that it doesn't stay true forever.

Bug: 30944495
Bug: 31575582

Test: manual
- step 1: open Contacts app, press Home button and re-open it
- step 2: search for any contact and press on a search result to open
QuickContact
- step 3: close QuickContact and observe: contacts list shouldn't
quit search mode

Change-Id: Ieb9f0dcd6d303103b5f6e357d123d1ffa47494a8
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
f99050625b7df278f8da9432ba67f50ba9c50aac 14-Sep-2016 Wenyi Wang <wenyiw@google.com> Refactor onBackPressed to make it easier to read

Bug: 30944495

Test: manual
- press Back button in:
- All contacts view, and in search/selection mode.
- Duplicates view
- Label view, and in selection mode.
- Account view, and in search/selection mode.
- No contacts view.

Change-Id: Ie6ef9c5c2b701b3d8e7f97f1bba31cb247661d30
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
60ca24d89fea34b1b7b8f4a4bc53ffaa3adfbcc3 14-Sep-2016 Wenyi Wang <wenyiw@google.com> resolve merge conflicts of 51819e8 to master

Change-Id: Ic4ca267c2f2726763aba2921940f4d8d32d3eb14
df3e84934f5ed33ed8e457bf0a0a1a435db3e4d9 09-Sep-2016 Wenyi Wang <wenyiw@google.com> Clean up getters and setters of filters

- In DefaultContactBrowseListFragment, there were 2 ways to
get filter; now, there's just one - from singeton
ContactListFilterController.
- In DefaultContactBrowseListFragment and its super class
ContactBrowseListFragment, there were multiple methods to
set filter; now, there's just one - from singeton
ContactListFilterController.

Bug: 30944495

Test: manual - change filter from side nav; switch to custom
filter; create a contact from an account; list
event logging (from logcat).

Change-Id: Ic2db8b07880272afd420b747c1ab6aa821311bb4
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
ed9f9747b07f5de8f0e73cd78043b2b00ef558db 08-Sep-2016 Wenyi Wang <wenyiw@google.com> Move more logic to DefaultContactBrowseListFragment

- PeopleActivity#configureFragments configures
DefaultContactBrowseListFragment only, so it's moved to the
fragment and is renamed as "configureFragment".
- configureFragment is now called from onResume instead of onStart,
because we can count on onResume() being called after onNewIntent().
- onKeyDown() is also moved to fragment.

Bug: 30944495

Test: manual - navigate between fragments, rotate, press Back/Home/Recent
button, search, multi-select and when no contacts view is
shown.

Change-Id: I870760a816e53428e42362675545083b8e791d9a
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
cc8f272af38bd46710b8186424caf515215f2582 07-Sep-2016 Wenyi Wang <wenyiw@google.com> Second pass on fragments navigation

1. Fix some janky animation when opening or updating groups.
a. Use FragmentTransaction#replace instead of FragmentTransaction#add
so that mAllFragment will not appear before group members are loaded.
b. Change group URI and reuse existing group fragment to reload group
members, instead of popping old group fragment and adding new group
fragment, when user opens another group from a group view.
2. Fix an error in ContactsDrawerActivity#updateFilterMenu.
3. Move code to handle new Intent from PeopleActivity to group fragment.
4. Initialize ContactListFilterController in
DefaultContactBrowseListFragment#onCreate rather than onActivityCreated.
Because onActivityCreated will be called when fragment is removed and
added back, and we don't want to set filter again and again.
5. Fix a bug where activity title is not updated when nagivating from
account A --> group X --> account A.
6. Move all group actions from GroupUtil to ContactSaveService.
7. Other minor refactoring and cleanup.

Bug: 30944495

Test: manual - navigate between fragments, rotate, press Back/Home/Recent
button, search, multi-select, modify group members,
add/delete groups, view/edit/add groups from
ContactsTests.apk and when no contacts view is shown.

Change-Id: I27c89b4125e55b67921a37f2092fde839a9f8ed4
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
935b56aabd5ee1562df1d16324ce8e3f51005651 07-Sep-2016 Marcus Hagerott <mhagerott@google.com> Add changes lost in I467a8b4fa5cc610c3e1627f30631a55ecd6c91c1

This allows contacts to be created in a null device account without showing the
account chooser. It also shows the correct title in the action bar when viewing
device accounts.

Change-Id: I3ee096d1ed70d544fd719e930dcb49953c162eb3
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
7967545e62b473503473b2c9e127cef405f67201 17-Aug-2016 Wenyi Wang <wenyiw@google.com> Open group fragment and duplicates fragment from PeopleActivity

* Also handle some side nav menu logic

Bug: 30944495

Test: manual - navigate between fragments, rotation, press Back/Home/Recent
button, search, multi-select, modify group members,
add/delete groups.

Change-Id: I4feeed89557a5c07852a1e2d2a39306cfa59c918
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
8857b943ccea433447b63e7e5422798d1e040647 29-Aug-2016 Tingting Wang <tingtingw@google.com> resolve merge conflicts of 2fc12b1 to master

Change-Id: I7fdcd4be8e858861f37d8a5bdc1d88b407e329c2
587b8f22be5f0e0a7e0b7ea362d81632e4bada66 18-Aug-2016 Wenyi Wang <wenyiw@google.com> Let DefaultContactBrowseListFragment control actionbar, menu and more.

Test: manual or use GoogleContactsTests.apk

Bug: 30944495

Change-Id: Ic31df5cfe946363ff78254b7c82b042c13b107f4
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
6367d2a3cb148d9a16e34e7bb1fe400ad72a3d30 15-Aug-2016 Walter Jang <wjang@google.com> Fix imports after upstream commonbind package rename

Test: Ran ContactsTests unit tests
Bug: 30759296

Change-Id: Ie86cbaa6591f959247764ef47fde9def1cdefd1f
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
e530ba2be9460f0eda24db9df614a3f149b03910 11-Aug-2016 Wenyi Wang <wenyiw@google.com> resolve merge conflicts of 5db1821 to master

Change-Id: Ib2c22866b492c5fec2bc31709cac900486fc2fbc
5db1821bab4dc832d40621fdb9517d904a91ced8 11-Aug-2016 Wenyi Wang <wenyiw@google.com> Update list header only when contacts in default directory are loaded

* We don't need to consider non-default directory when updating main view
and account view anyway.

* The bug doesn't always manifest because:
- It takes some extra time for non-default directory contacts to be loaded.
https://cs.corp.google.com/android/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ContactEntryListFragment.java?l=393
- The contacts in non-default directory may be empty.

Bug 30792969

Change-Id: I7b02af3012cdcf815165986daeb61efb3c5c70b1
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
5d612da2b223d951638757cb7dcea065fab93056 08-Aug-2016 Tingting Wang <tingtingw@google.com> resolve merge conflicts of 1243cb4 to master

Change-Id: Ib619fe1ac6e52203f47a88345c6060f11e490815
1243cb4e9b000ef3bd54e6b285607afede31ccae 06-Aug-2016 Tingting Wang <tingtingw@google.com> Show promo after reloading data when stopping from search.

BUG 30706521

Change-Id: I36697d54ec2171a3568178b25fb86b39e18bcf1d
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
a455bd58203ba4b4e8001fb0bffd665146556d24 26-Jul-2016 Xi Chen <samchen@google.com> Missing contacts & accounts issue

This CL is to solve missing contacts & accounts after adding new
accounts from Settings. New accounts will appear in the app immediately.
If the sync of the Google account is not initialized, it uses spinning circle
to indicate sync is in progress.

BUG 30378161

Change-Id: I370e63e10b16791011f533cf7ca325bff8ccd3f2
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
fae60291c273b30fe6e5f4ac2ed4540cd112c5e7 02-Aug-2016 Wenyi Wang <wenyiw@google.com> resolve merge conflicts of f128ea8 to master

Change-Id: I9a99bb1f5deb913f4409914cc6c356ba6ff8a256
f128ea89cae42496331915b245b2f1d836b1b9e1 25-Jul-2016 Wenyi Wang <wenyiw@google.com> Empty view for main list and account view

Doc and screenshots: go/empty-view

Bug 30477177
Bug 30359207

Change-Id: Ie2921b1741cca0a1fcd1e34908a320cf70c035a0
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
4a7a9ea9ce12734da8e7ac19b8a260544d713c22 20-Jul-2016 Xi Chen <samchen@google.com> Get and show new focus sync status on pullToRefresh (Flag Control)

This feature only supports Google accounts. It will get and show
sync status for current filter account.

BUG 28625097

Change-Id: I6439638f4fd99f3e8991d87e538259859bc7a6e5
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
947c23df9b52081fea8ff3958420475973d53e53 01-Jul-2016 Xi Chen <samchen@google.com> PullToRefresh feature for syncing contacts (Flag Control)

This feature only supports Google accounts. It will sync all Google
accounts in all contacts view, and will sync Google account itself in
Google contacts view.

BUG 28625097

Change-Id: Icdfff5e201d827d3f6866ad1d8835ef3fdbd43b0
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
9294263258a44d6ee42ac1dba964eb3765d2f494 14-Jul-2016 Walter Jang <wjang@google.com> Restore the "Contacts to display" custom filter (1/3)

* Revert "Remove AccountFilterActivity and its usage (Contacts)"
This reverts commit 1fc8847aa6bef1b6ceb017870d3de90f5960757e.
* But we don't restore the changes to DefaultContactBrowseListFragment
since we won't be starting the "Contacts to display" filter
from an overflow menu option on PeopleActivity.
* In DrawerActivity and PeopleActivity, everywhere we check for
FITLER_TYPE_ALL_ACCOUNTS, we must also accept FILTER_TYPE_CUSTOM,
since either of those can be used for the default/main contacts
list again.

Bug 29185471

Change-Id: Ie77e8acb16980b9015bd1f1f4af9fb7a014f3c51
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
1114fde42037be1cf83c577bbbc9eaaa5cb46369 12-Jul-2016 Wenyi Wang <wenyiw@google.com> Show count of contacts in account and group view

* Change contact list item height from 64dp to 56dp per b/29831679.
* Move name view in contact list item up by 2dp, per UX.
* Change the top padding to 8dp per b/29831679.

* Show the header in: account view, group member view and group member
picker view.
* Set top padding for list view only when there's no account header.
* Change action bar title to "From <account>" in account view.
* Override onScrollListener to hide and show header divider.

Bug 29190106
Bug 29831679

Change-Id: I36a2083c91b6b052bf887a8e7c639085d2bf4691
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
9746ad84589cc4c1012baaff2b01f92675eecc09 28-Jun-2016 Wenyi Wang <wenyiw@google.com> Truncate strings in menu item of NavigationView

Also:
* don't show "All contacts" header in main search mode
* remove some unused resources

Bug 28762946
Bug 28555607

Change-Id: I817433a18ac0cf1f9b5c48ea7cc5a9aaf7730012
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
2b943999c5f182d7bfc3e67976330d6a935bc1c7 21-May-2016 Wenyi Wang <wenyiw@google.com> Add list event clearcut logging (1/3)

- Update logging previous screen when QuickContact is opened.
- Log various list events.
- All actions are logged when finished.
- "Load" action is logged when load is finished and when account
filter is changed, so as to avoid unnecessary repeated logging.
- Some of the "/*...*/" comments are omitted if the variable
name is the same as the parameter name.

Bug 28718104

Change-Id: Ib59d8d40eb9e9d68b8ad418c1a83ffba1d7ef7de
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
e9ea4f0f04919348ac3ad9d3338bdeca12922485 10-May-2016 Walter Jang <wjang@google.com> Move MultiSelect classes up the list hierarchies (1/2)

And have the GroupMembersListFragment extend the
MultiSelectContactsListFragment

Bug 18641067

Change-Id: I6773c4da89c744af8301b65f822cda07a18010de
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
9c1fa5db2caafc1d9e6f8ea23309a84a2c450143 17-May-2016 Walter Jang <wjang@google.com> Make the MulitSelect contact ID column configurable

* So that the MultiSelectAdapter can support different kinds of contact
lists (e.g. aggregate contacts or raw contacts).
* Also move utility method to convert a MultiSelected contact IDs TreeSet
into an array to the MultiSelectAdapter class since more than just
the PeopleActivity will need to do it when there are more MulitSelect
lists.

Bug 18641067

Change-Id: I136137b3f7d3c7a7faa0f381eb66d9648a46cf5c
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
aad30f55ab3dc6c2e2085b4b6bae149132ce9e77 12-May-2016 Wenyi Wang <wenyiw@google.com> Hide favorties in account view and stop loading ME (1/2)

Bug 28494082
Bug 28499410

Change-Id: I44964e5fb46e8f3244586dab60b9779380ac167f
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
a052e2e1a06006a7ebb8c540f04ae8816f69646c 04-May-2016 Wenyi Wang <wenyiw@google.com> Show account name in title bar and remove filter header

1. This CL updates action bar title when filter is set.
2. The view with id account_filter_header_container is used
in 3 fragments:
DefaultContactBrowseListFragment.java
PhoneNumberPickerFragment.java
GroupMembersListFragment.java
These CLs remove its usages and it will only be used in
GroupMembersListFragment.java.
3. This CL also removes the SUBACTIVITY_ACCOUNT_FILTER as it
is not in use after AccountFilterActivity is removed.

Bug 28503355

Change-Id: I3458390eaf7f805bbd7c2d91b06dbf71918e6448
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
1fc8847aa6bef1b6ceb017870d3de90f5960757e 23-Apr-2016 Wenyi Wang <wenyiw@google.com> Remove AccountFilterActivity and its usage (Contacts)

Bug 27687799

Change-Id: Ic9ec92e088ccfcfeee797bc5fbd961142d066e9b
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
9cfe1afe32db6a632ec9f2346392bf1a9467332b 08-Apr-2016 Wenyi Wang <wenyiw@google.com> Show account filters in navigation drawer

- Remove the blue rectangle and use a white background of height 24dp.
- Navigation drawer design: https://docs.google.com/a/google.com/document/d/1oVptSYWa84CGt2mIQxmRObLVqopJUUilZxlARCJaiMs/edit?usp=sharing
- The external text "labels" corresponds to "groups" in code; the text
"Accounts" corresponds to "filters" in code.
- Avoid opening AccountFilterActivity from filter header.

Bug 27687799
Bug 28245667
Fixes 28245762
Fixes 28245372

Change-Id: I75efa2fca05a1c5b74051f43e342a61f937602a1
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
ed5202a2cc0b5916ed21f3afb3f2f19123eb028b 17-Nov-2015 Ricky Wai <rickywai@google.com> Make Contact app works can open work contacts

Bug: 25836833
Change-Id: Ic7151ad8341f48728fc95c68b9489410a6e35b3e
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
c6100ffd22ae176a3e84a1062d8cb92d955faef2 20-Feb-2015 Brian Attwell <brianattwell@google.com> Avoid senseless disambiguation #2/2

This makes having two contacts apps on the same
device tolerable.

Bug: 18777272
Change-Id: Ib75eadfb94eee2c5c8305747eddd01ba9a8b1dc4
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
b831b14466d640fe260ba2e752c88c7fcd62a14b 04-Oct-2014 Brian Attwell <brianattwell@google.com> Don't crash QuickContacts because of null uri

When composeQuickContactActivity() is passed a null uri, then
startActivity throws the following exception:

ActivityNotFoundException: No Activity found to handle Intent
{ act=android.provider.action.QUICK_CONTACT flg=0x20000000 (has extras) }

I can't reproduce this. So lets just fix the crash.

Inside contact list fragments, ignore clicks on views bound to null uris.
We don't need to change Dialer. It already handles these cases.

Note that we can't fix this by checking for null URIs inside
ContactEntryListFragment. One of the Dialer subclasses of
ContactEntryListFragment requires null URIs.

Bug: 17807956
Change-Id: I41dd878b23b8cc3e9b8ad49e12675a4da9ced466
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
0300386156602aa5c93ca5abd8c7c0e20eb5ee9b 26-Aug-2014 Zheng Fu <zhengfu@google.com> Add padding to join contact list view

Several changes are involved:
1. Add padding to all the contact list views of ContactSelectionActivity so
they can be contained in a centered card in sw600dp-land and sw720dp mode.
2. Make the tab indicator thicker on tablets.
3. Make tab text size, frequently contacted title text size, list item text
size and list item line space bigger on tablet.

Bug:16553819
Bug:17132856
Bug:17157006

Change-Id: I5f5a53e33f8ea090573edb1c7f23ebac7260190d
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
dff843a3b4c84cc38384a576638270c6c80bc5c8 10-Jul-2014 Brian Attwell <brianattwell@google.com> Show avatars in tablet's portrait layout

Delete and inlined unused tablet configurations

Bug: 16161013
Change-Id: I7c3d64a4802c29d6eeb1f886d754cf2bcbea0767
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
5b221086e4b994d6325d7396625900a79e27ae51 27-Jun-2014 Sai Cheemalapati <saicheems@google.com> Change lists' landscape layout on 7" screens.

The favorites and all fragments now have similar
layout/margins to the new contact activity.

Change-Id: Ide74ac16057e335d75495bdd355e360a0859d580
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
8a6f4ade05e5a8a89d91078ef9c22944450ac8ba 07-Jun-2014 Brian Attwell <brianattwell@google.com> Bag of QuickContact improvements

* QuickContacts open full screen when inside the Contact app
* Status bar color (aka system bar)
* Added and animated shim
* Moving code off UI thread (without these, I was seeing ~20
frames dropped from the shim animation)
* QuickContacts now acts reasonably when re-entering QuickContacts
from the edit view

Change-Id: Idafc20b62b1d04f0a9c437b3708555ec6dddedf5
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
e599bf0b2e77167e6b3bcce5db69102d65bebb9d 15-May-2014 Andrew Lee <anwlee@google.com> Only modify search progress visibility if view exists.

Bug: 14900155
Change-Id: I93d7e72696b5db1d123490c62945e5353819a771
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
e15828e840217d1f0035c826c45f16b1129e9f2f 01-May-2014 Andrew Lee <anwlee@google.com> Restyle "Set up my profile" option.

- Delete header count functionality.
- Relayout the "ME" header to the left of the profile button.
- Styling tweaks to get things to layout properly.

Change-Id: Icbadef9fb7b6e5acc7fc878948a8fe5c4985b394
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
9dc14a8bb6df4fb6b3311b02f91869d2276cbed3 12-Sep-2013 Yorke Lee <yorkelee@google.com> UI polish for list section headers in People

Bug: 10671447
Change-Id: I4857282a65474105ba0415bd881c758bddb381a8
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
fd4df88d03a745728bb1c1df9648e7b5989641b6 11-Sep-2013 Paul Sliwowski <psliwowski@google.com> Update more colors in the People app UI.

Change-Id: I47c50fdc50760bcd05db32069da3d19a4d211f3d
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
8c42b52d926475073e188d06c39c432945db781f 15-Aug-2013 Jay Shrauner <shrauner@google.com> Fix createCursorLoader NPE

Pass through context saved from onAttach() to the Loader init rather
than calling getActivity()

Bug:10323136
Change-Id: Ic355bba6bc6d83560661ef1c673966c636da4dc6
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
30868d4ef831b6ff7b2e7a00027bb0222d93135d 29-Nov-2012 Chiao Cheng <chiaocheng@google.com> Further clean-up of PhoneFavoriteFragment in Dialer app.

Moving dependencies of Dialer PhoneFavoriteFragment. Mostly filtering
dependencies.

Bug: 6993891
Change-Id: I33e830b9f3f686138d19699ce205d2d9d58ec6ea
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
0d5588da244d0992c3ff8f25d0875fdf95a8c644 27-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move AccountTypeManager to ContactsCommon.

Moving AccountTypeManager to ContactsCommon so it can be shared by Contacts
and Dialer.

Bug: 6993891
Change-Id: I9526ac7cda758290caecabfcaebe620238d8dd6b
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
a0233a048858f1593ea4924e9c5036f39aedbcdd 02-Nov-2012 Chiao Cheng <chiaocheng@google.com> Moving ContactListItemView and dependent classes.

Further clean-up of PhoneFavoriteFragment in Dialer app to move all necessary
dependencies into Contacts Common package.

Bug: 6993891
Change-Id: I3dfce84ad01932450dc09588c22903e7307d7da0
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
e0b2f1e2d01d1ac52ba207dc7ce76971d853298e 12-Jun-2012 Chiao Cheng <chiaocheng@google.com> Global import order fix.

Changed import order to be in accordance with style guide:
http://source.android.com/source/code-style.html#order-import-statements

Static imports will be placed at the top since most existing files used that
convention. It is also a style that can be handled by both eclipse and intellij.

Change-Id: Ia7013c7a2d88e5fefb8f4975d121f7fcd3fcc462
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
0fc98e079aa578db5a1998c65762932f914eb896 04-May-2012 Josh Gargus <jjosh@google.com> Improved section headers.

Remove unnecessary padding view, and adjust the section-header heights
directly. Now the height is what UX has wanted for a while.

Bug: 6427081
Change-Id: I83180ccd4ae7f27bcd504d93321a38523d8280c5
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
3607687e99b2938a639936a1c60907b3b20a6f9f 30-Apr-2012 Josh Gargus <jjosh@google.com> Merge "Improve progress feedback for long-running directory searches." into jb-dev
f4aaa475a8e005a93f7e2dfae8c09e68f129a48b 27-Apr-2012 Josh Gargus <jjosh@google.com> Improve progress feedback for long-running directory searches.

The previous progress-spinner was tiny and meek. Now it is bold
and assertive.

Bug: 5983528
Change-Id: I3918ae3f4d8cbce1aa3b5acf1b0728b860fa9bff
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
76c10116a8f3efae4cb3940e233c8ecd6239e746 27-Apr-2012 Maurice Chu <mochu@google.com> Made layout fixes to support 7" tablets

Renamed resource directory suffixes for 7" tablets in landscape
orientation from sw580dp-w1000dp to sw580dp-w940dp.

In Group and All panes, the ratio of the left list pane to right detail
pane is 1:2. Set up a threshold of the minimum width to show images in
the browse list under the All tab and show/hide images appropriately.

Show 3 columns of images in the Group detail pane when the 7" tablet is
in landscape orientation.

Width in left scrollbar for left pane browse list reduced for 7" tablet.

Bug: 6398940
Bug: 6378492
Change-Id: I7730830470e794a59cf7b2b910ae7aadf82b36c6
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
90f40d0162e4cee5b94bf3203c059e27f6472fab 23-Apr-2012 Daisuke Miyakawa <dmiyakawa@google.com> Introduce a "loading" view for phove favorite

Bug: 5604799
Change-Id: I8e70ca14047f4ad3d1f976cfde21c18872e45bbf
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
b6553457d0c3e84eefa0a853090b680090a7b2f9 04-Jan-2012 Josh Gargus <jjosh@google.com> Show currently-selected account filter.

When presented with the list of possible filter options,
the currently active option was not highlighted. Now it is.

Bug: 5222482
Change-Id: Ia9d1ba40f589e89c4390199f9d77ae8b2af2c90c
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
0647bdb63b41a968f6c07d1a1e600f5a0208d043 08-Nov-2011 Daisuke Miyakawa <dmiyakawa@google.com> Stop using "group" filter.

The filter had been used in HC but now just causes app crash on
People. This change removes relevant codes and just redirects
users to ALL filter.

Bug: 5581081
Change-Id: Ib4c9b6c2c89149070ec08008cb15c89c3ef5aaf8
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
34b901ca7781cf7fdd4f6275ef98ae73c95749c2 18-Oct-2011 Daisuke Miyakawa <dmiyakawa@google.com> Filter and header refactoring.

- have AccountFilterUtil to unify account filter implementations.
- modify account header on top of search screens
Now it is bigger than before (40dip > 32dip), and uses people's
blue text color instead of gray (issue 5451033)
- introduce ContactListSeparatorTextViewStyle and use it everywhere

Bug: 5269692
Bug: 5451033
Bug: 5429203
Change-Id: Ibe810ff9adaafc74d53b0dcf171a3853f4be039a
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
1db00f68b34f6cf7e9d19fedb559cf12f8c05e9c 19-Oct-2011 Makoto Onuki <omakoto@google.com> Fix the double query issue on phone

The issue was that fragments had separate methods for search: setSearchMode()
and setQueryString(). But now that fragments will never be in search mode
when query is empty, there's no need to expose both methods.

Changed setSearchMode() to non-public, and let setQueryString() call it
when necessary, so now we don't have to issue unnecessary queries.

Note this CL doesn't modify adapters, so they still have setSearchMode()
and setQueryString() as separate, public methods.

Also did a bit of cleaning up on how PeopleActivity handles search mode.
(When I worked on it first time I wasn't too familiar with the code, so was
afraid to change existing code too much, which left the code unnecessarily
complicated.)

Also removed all fragment.setSearchMode()/setQueryString() calls in
ContactSelectionActivity.configureListFragment(). As far as I checked
there's no way to invoke this activity with reqeust.isSearchMode/getQueryText
set.

Also removed ContactEntryListFragment.get/setContactRequest, which weren't used
anywhere.

Bug 5274171

Change-Id: I794db7ed54cb6b8f45d69430ec2f77e7fa83fb8c
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
36d24d7ede42a252c82c4aa783b2231c5e2eea79 26-Sep-2011 Dave Santoro <dsantoro@google.com> Avoid showing error if contact removed on save.

Because removing all data from a local contact can actually cause
the raw contact and contact to be deleted, we need to track that
case so that the caller does not consider the lack of a lookup
URI to be an error.

Also made "Me" header all-caps for no-profile case.

Bug 5346614
Bug 5354364

Change-Id: If1e1d67da9c14eb8782be05b2e39ece19b5ac026
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
124e5cbea97366d4db1fa5ffe59efedd5913aded 07-Sep-2011 Daisuke Miyakawa <dmiyakawa@google.com> Make filter header clickable

Bug: 5160689
Change-Id: If2f9435bf0090f8bfc138a45fe2c9c04eec08091
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
8907f66cdb60070f88ea006b8d747ac489ea0d6b 06-Sep-2011 Daisuke Miyakawa <dmiyakawa@google.com> Let tts speak "not found" when contacts are not found

- manually send accessibility event for it
- make the whole header view hierarchy visible before sending
the event
-- The view must be visble to let tts speak what we want

Bug: 5255056
Change-Id: I79d7615d9677364a26a12701454ccc5399541de9
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
84cac440813d6c151bf330998451ca1e3f6804b1 25-Aug-2011 Dave Santoro <dsantoro@google.com> App changes for handling profile DB split.

- Added a custom loader to load in the profile and contact list.
- Made the CursorLoader for ContactEntryListFragment and its
subclasses pluggable, so the default one could substitute in
the combined profile-and-contact list loader.
- The photo manager needs some awareness of the profile ID-space,
since it's doing bulk photo queries using a custom selection.
- Adapted Isaac's change to the section indexer to handle the
profile being out of consideration when doing the address book
index query.
- Removed uses of the ALLOW_PROFILE param, since it no longer exists.

Bug 5204577
Bug 5136432
Bug 5140891

Change-Id: I676b4cdeabe87b1b585c6c8df2cde51605777106
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
00eaf3749e4382320aada2299b01567c9a4e9a2a 26-Aug-2011 Katherine Kuan <katherinekuan@google.com> Add "Contacts in custom view" string for custom account filter

- Make People app and Phone app account filter string logic
the same

Bug: 5015564
Change-Id: I33312a33b3e89054f5e8c02021af5f7195aabf52
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
b9225e3753f128c80d9643d04faba5354ca263da 22-Aug-2011 Daisuke Miyakawa <dmiyakawa@google.com> Use the older way to cope with onInvalidSelection()

Although we're showing "all contacts" list when the selected
contact isn't in the current filtered list, we don't explicitly
select the contact, thus detail page ends up to showing
previously selected contact.

We can partly achieve it, by selecting the contact uri programatically
after showing "all contacts" list, but then, the next problem would be,
what should be done when even the "all contacts" list does not have
the requested contact.

The case is super rare (since "all contacts" should include almost all
contacts users usually want) but still possible, and there's no easy way
to determine the edge case.

One possible workaround for this rare case is to try to show "all
contacts" once and fall-back to single contact mode if the requested
contact isn't there. Though it sounds feasible, the change would become
a bit too risky at this point. For example, it may be very slow with
larger database.

Let's just show single contact for now, and show correct directory
header.

See also Ica75178d10b4a9b95c44cc4f75f56b65fbc67da8 for the code
introducing single contact mode.

TESTED (on phone):
- This change should not affect People UI for Phone.

TESTED (on tablet):
- set custom filter with no contacts, and create a contact.
We should show the contact both in the list and detail.
- set custom filter with no contacts, launch quick contact
via favorite screen, and open contact detail via the quick
contact.
We should show the contact both in the list and detail.
- set custom filter with no contacts, launch the other app
which relies on quick contact, and open contact detail the
quick contact.
We should show the contact both in the list and detail.

Bug: 5193999
Change-Id: I233162572e25acb737c9eae787dfc146879a0dc2
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
4d4b82bc40b181563d0ccc4e85a9936df66945e6 13-Aug-2011 Isaac Katzenelson <isaack@android.com> Show local profile with account filter on

Bug: 5155996 Set up my profile is displayed for each account
selected,even if the profile has been set

Fixed the query.
Also fixed a bug with number of contacts not shown correctly that
I discovered during the testing.

Change-Id: Ib493fc3ba626d1607e235b1c20ee0a811b03dd85
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
08c87460331cbab92e94d96b704bd8f713a65202 10-Aug-2011 Daisuke Miyakawa <dmiyakawa@google.com> Contact picker/group list pixel-perfect

There are still a few issues to be fixed around picker
stuff, but it looks basically fine enough.

- fix misc padding issues around contact listing itself
- introduce conditional padding for phone search view to keep
top padding consistency
- keep consistency between group and contact listing
- remove "groups per account" count
- stop showing quick scroll bar in group list

Bug: 5137457
Bug: 5144140
Bug: 5143350
Bug: 5080599
Change-Id: I038c112bbf9e956e9a2b784178c0360d03e3f333
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
30dff0f18a24d83cbb31d74bc6ab65736795ba81 10-Aug-2011 Itzhak Katzenelson <isaack@android.com> Account filter and profile header style fixes

Bugs: 5144226, 5142982

Fixed layout and style according to Marco's document:
1. Fixed style of account filter
2. Fixed style for profile header
3. Fixed contacts count to not include the profile

Change-Id: I0c6fc0f4839a993c0fede8840b7636c0460eed55
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
ead19c5eafee0ffb43b02a4ae75ac5244ad3f853 30-Jul-2011 Isaac Katzenelson <isaack@android.com> Support for local profile

Bug: 5121834 Support local profile
5086184 Account name is overlapped by number of contacts
5082317 Text is chopped on the top in contact list

1. New headers were added at the top of the contact list to
present an empty local profile.
2. Clicking the empty local profile opens the editor to allow
the user to create a local profile.
3. Profiles are shown at the top of the contacts list with the
"ME" header and the number of contatcs.
4. "Add to contacts" button and the starred button were removed
from the details view when it is a profile.
5. Fixed a problem with a header view that remained when you had
a profile or was in search mode.
6. Fixed problem with contacts count apearing in search mode

Change-Id: I45615616e03a603759888d9e7169a853b3328b14
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
8f59c2b18b73df6af3c808802620839f0a6a61d4 04-Aug-2011 Daisuke Miyakawa <dmiyakawa@google.com> Reflect recent UX design changes around filter capability

Include several related changes

- introduce filter option in phone search
-- have limited filter support in PhoneNumberListAdapter. There's
no easy way to share the logic for filtering as People UI
is taking care of Contacts/RawContacts table while Phone UI
needs to take care of Data table, though we may be able to have
some utility library for filter operations.
- have additonal layouts for filtered phone search. Along with it,
also introduce some pixel-perfect design for Phone/People apps
both for phone and tablet
- add "up" capability for CustomContactListFilterActivity
- launch CustomContactListFilterActivity directly from
AccountFilterActivity instead of relying on
their parent Activities (PeopleActivity and DialtactsActivity).
-- In the current structure, IME is shown during migrating
from AccountFilterActivity to CustomContactListFilterActivity
"only in Phone UI", as SearchView temporarily has a focus

FUTURE TODO:
Currently devices without hard menu key show overflow menu in
Phone search mode, while we want soft button on the right side
of search view.

Bug: 5104984
Bug: 5081251
Bug: 5121569
Change-Id: If935f13b33b105884a914b207fd096588825226e
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
a46c12688b3b900fb92922d160a11e82a1d6566a 26-Jul-2011 Makoto Onuki <omakoto@google.com> Fix NPE introduced in I94687ad1

Bug 5076892

Change-Id: If6af5ad63188c3c36e7ffacb4b7dff65c11a6207
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
914e8a18c41cfea1df45a57da12194351c64764c 26-Jul-2011 Makoto Onuki <omakoto@google.com> Don't show the filter header in search mode

Bug 5042768

Change-Id: I94687ad150dd5b017de997694ffb1de51533bfcd
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
36b27c6289a2e28db5dc7554762106d17437ecf3 20-Jul-2011 Isaac Katzenelson <isaack@android.com> Redesigned ContactListItemView

Change-Id: I6ebbf3e534b4a728d3af0de21ec337d65d8fb59f
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
495db43f0a08bd71ba28a42f89b80d38af15afec 07-Jul-2011 Katherine Kuan <katherinekuan@google.com> Bring back account filter

- ContactListFilterController no longer loads accounts and groups,
to display in the action bar drop down menu. Now it just stores
current filter and saves it to preferences.
- ContactListFilterLoader is no longer needed because we're not
loading groups anymore
- Move adapter from ContactListFilterController to the
AccountFilterActivity
- AccountFilterActivity loads a list of accounts and returns
a ContactListFilter as an activity result based on the account
selected
- If "customize" is selected, then the CustomContactListFilterActivity
will be launched.
- Show header in contacts list according to what account filter
was selected
- Update filter activities to holo theme

- TODO: Remove the "display phones only" option in the
customize menu on the phone

Change-Id: I45e0bdee80e7885d39bf09183a66ec50d81d1982
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
f35faebc816c9b84b96e11393eb18f9001f411b5 25-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Changing wording for empty contact list

Bug: 3338546
Change-Id: Ic9b9e5a7dda12e03252c80d116fff2460c86b348
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
1a57fb2749e5a777067d177184f50dda3fa5c4d7 14-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing "closed cursor" exception in contacts search

Bug: 3352125
Change-Id: I04c8d8a6a7a7d74f3b57be6d38a7690669424ce2
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
8db1913dc30cd83ac27e10a4cfda12b4bf08dcfe 13-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Making search mode triggered by focus in, but ignore focus out

Bug: 3340666
Change-Id: I75422950c9f708f4651ebf74a43f65eebcea9d11
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
264023c04b75043fa77267fd1b940d0afb13421d 15-Dec-2010 Dmitri Plotnikov <dplotnikov@google.com> Removing dependency between filter loader and list loader

Change-Id: Iaeeb0071d34d9ed68c2704af2ba7fe8981ed435e
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
5245ea63b4cca18ee504b27abd534fc13d33dea9 11-Dec-2010 Dmitri Plotnikov <dplotnikov@google.com> Replacing Aizy with a standard scrollbar

Change-Id: Ie8626844e194894da6e30205fe5da43d92d793c2
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
d959104d37df65f0d6de9290c3fa2b59065be0fc 23-Nov-2010 Dmitri Plotnikov <dplotnikov@google.com> Moving state machine logic from activity into fragment.

Change-Id: Ie3d56bb0cbf0d437912ce5c77ae97d99ec7d7c86
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
e898a9fa52728b2ff6fcd3add693471e9e15553d 19-Nov-2010 Dmitri Plotnikov <dplotnikov@google.com> Implementing group renaming and deletion

Change-Id: I5d55d0d45f1e275e1ebf4f607ef09aba1c6bedc3
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
30cc853792b4a71871cef8bca03b67b805fdc34e 12-Nov-2010 Dmitri Plotnikov <dplotnikov@google.com> Resolving issue with the wrong contact displayed in search results.

Bug: 3172505
Change-Id: I9740429306949162a07044aecfd282d14e14f839
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
174fdc2dcb965f11cf4eb25e4ea961f0e1e56c85 29-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Automatically selecting first found contact.

Change-Id: I232f37d1b5256c315d514a2c8dee9e9eeca5dcb7
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
6e850a046fcea8ba82a793b43944051246d08180 28-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Implementing new selection policies in Contacts

1. Selection is now persistent per filter
2. If there is no selection or selection not in the list,
display the first item on the list
3. After creating a new contact or per user request
select the newly created contact in the list. If
it is not in the list, change filter to "Contact"
and display that contact by itself.

Change-Id: I9343fe9d25c86c5d041954d2386f66da2a1bc41f
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
86092529f272b7ed2cee24fae397291696b29b80 28-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Fixing INSERT_OR_EDIT intent for contacts

Change-Id: I62e8c3628bed7443232d0e23ed50d34a55788f70
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
bee8d3bd37edf44c535c0cc401e8d03f095b8328 13-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Improved layout of contact filter view

Also, no longer showing the down-arrow when there
is no filter or only one filter.

Change-Id: Ie9bbb7aa279ff2013e4c24ca8f302d864679c35c
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
e20d3432a370dd3996deec2df4e3cdf726c94992 11-Oct-2010 Daniel Lehmann <lehmannd@google.com> Removed Editor embedding from the Browser-Activity (was unused)

Also added a few @Override annotations to code new to Honeycomb

Change-Id: Ie313d1f849e8e31dc0ac1bea99c72e591e2cf77e
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
009676f9f2a5d8d47756be37abd9a14f2e564979 08-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Support for Contacts with Phone Numbers Intent

In the new navigation model "contacts with phone numbers"
will be a filter that can be set via the intent,
but not explicitly in the contacts app except by using
a custom filter.

Change-Id: I4ae94812c5cab6c7e3834beff494c1e840019c03
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
1fafec94496cba4c19db418dc716fcfe70c9f809 07-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Preventing custom filter save when no change

If we don't change anything in the custom filter UI,
there is no need to display a progress dialog
and send an empty list of CPOs to the provider.

Change-Id: Ifefa9a7645d45588870b9c1fa99fb6e4412b8bea
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
251e4f7dc45928053133fe15fd456da00b7cbe8c 06-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Contact filter uses custom UI instead of NotifyingSpinner

Change-Id: Ia51c6944d67e41050be4e3e60856b15b77ffa090
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
15ccbb4d22fd65165cacb7970cbe61de1aa9aac4 06-Oct-2010 Dmitri Plotnikov <dplotnikov@google.com> Moving contact filter spinner to the action bar

Change-Id: I29506d0e71e15e4804899146855f22690969d1f5
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
17abbae56d5f18f22fdf975ef279d5a32cd15e97 29-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding "Searching.../Not found" header to contact search

Change-Id: I5a93d0cb0d8c4c29ab8dbb18fc3585940b6a6611
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
55b24db5b7759383b3ab8e8f72c1e92c14b69a47 27-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Removing contact filter from search screen

Change-Id: I808ae4e86ede9f63ab66a6201a90884b58d8f133
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
86bf2b4fee827351b9e9dc3648d437ae9014eaa3 27-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Making contact filter list update during contact sync

Change-Id: I21fc13658c494dd388d992ee36507ec1120ef748
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
9c6a2ae678093112d2d53d0da9f638b921605948 26-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Displaying "All contacts" instead of account name

This is done when there is only one account.

Change-Id: I4706159a2d8cdabb1206b374a7b1b9eb1ec9941b
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
049a645462aff60b2b0daf98c7307c72f44a5f28 26-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Improved visuals for contact filter selector

Change-Id: I9c36d60e84563894988f8b1c96742fe436a9ad7a
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
fc7197e7f1bb7c8745c70a6a33dc0bec0e0fafee 18-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Making filter selection persistent

Change-Id: I703a71b3cb59bc3d1bf6256b7eaf12beb44e467f
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
c85ad182093f5556d6dbb310f4708cdc174b2665 18-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Changing preferences to PreferenceActivity.

Change-Id: I30f76e94c22828a9516cf2a72a2a772e0b4da44c
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
1f80f38965d3a82b634a947c4c1b1bfa9b105be1 17-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Making contact filter orientation change resistant

Change-Id: Iac5df1bc1e77df7ee5d8692f72b27d97afbf99f3
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
1799e6d97db667826309acdd265da98972608121 17-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Disabling list filter in search mode

Change-Id: If80933f5a7b6c1e4930045696bbcec8fab55083c
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
d6e6b8a0feffbf419593c0bd2efe44693652720c 16-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> New display options activity

New activity and a new hacky way to invoke it from
the filter spinner.
Also a custom item view for the spinner.

Change-Id: I00e3854023d8602ea94dc7d11f2961b7efeaca38
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
f7d450d12508ea67d3170068dcdf1a226358b06f 16-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Bringing display options to the browser screen

Change-Id: Ic316e51146ced2aef73a85d1ee5135c21d03a06c
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
39709a698e37d8a164579992fc6d1b72f856f384 03-Sep-2010 Dmitri Plotnikov <dplotnikov@google.com> Disabling QuickContact in the two-pane layout

Change-Id: I80386eef9069da518749d56c02fbe6a9b3a5abab
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
60ad01b47e1073bac4b9299a54673132f4451378 22-Jul-2010 Daniel Lehmann <lehmannd@google.com> Proper handling of View/Edit from list-context Menu

Change-Id: Ibe299620ca0c0ba237a3cd4bfc83e9c807cc63ab
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
92a6fdf1b07b8f1447560174e24455fd46aee7cd 09-Jul-2010 Dmitri Plotnikov <dplotnikov@google.com> Preserving list state on orientation change

Change-Id: Ibb75905573428e244b0cc4f0e61418e9f38101ed
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
4cc85dd15d6546bcb2feb587691bfca3f1654d94 29-Jun-2010 Dmitri Plotnikov <dplotnikov@google.com> Removing the obsolete "search results mode"

Change-Id: I07834c23916819b23aa306877cc19ba508dbb8b8
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
0b976fc26e8eb09919cd24a4e13370d0ddb5ff38 29-Jun-2010 Dmitri Plotnikov <dplotnikov@google.com> Making a LoaderManagingFragment testable

Change-Id: Ie7da83a96dd4be34637efcc3c885e2889fede2ff
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
1c5c8e23849ac3babb2bdec65ec63c190a5c40df 25-Jun-2010 Dmitri Plotnikov <dplotnikov@google.com> Preventing contacts from joining with Directory entries

Also, moving interactions with PackageManager to the bg thread
Also, skipping a trip to the DB when all we want is the default directories

Change-Id: I3813074af2a01d23d0e90cc2f7905ad1691117a3
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
d621f71428a7fd1aa15bd101423c9a690b44ea07 17-Jun-2010 Dmitri Plotnikov <dplotnikov@google.com> Fixing NPE in contact shortcut creator

Change-Id: I1f5d5166be24c3b824aade5c68fe2f5ed9f612d8
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
899df4a5a48e8a579ca842d303679975c3cef947 15-Jun-2010 Daniel Lehmann <lehmannd@google.com> A-Z scroller in Contact List

Change-Id: Iab421c26a54371e2cb543bcbe53c712b47f52d06
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
fcfbe6a92a8a34b4a6ca784de02287647b903bb2 10-Jun-2010 Dmitri Plotnikov <dplotnikov@google.com> Making primary search results appear before secondary

Change-Id: I36606fd699eb54214ac280c63c040bc021848b3b
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
fe3f79046be7012349fe9cac0fa89c00945ce737 08-Jun-2010 Dmitri Plotnikov <dplotnikov@google.com> Making Directory search UI work in the Goop mode

Change-Id: I5ed3909179b7f65a9defe3ab5b50ebe07521f9ca
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
d5061fe322880ee993ea18db331fbc1110ddc538 08-Jun-2010 Dmitri Plotnikov <dplotnikov@google.com> Initial integration with Directory API

Change-Id: I121e1e3b5a365204ffdd736b00133fd97529719e
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
0fb96d685252e453ad179aa6e510e889a816dddd 03-Jun-2010 Dmitri Plotnikov <dplotnikov@google.com> Removing obsolete API and fixing ArrayIndexOutOfBoundsException

Change-Id: I42c2b7352bf52b1fee6fbde23681d770860a6fce
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
bba62ac4a2d519be8e4896261d14b168fa49fbdf 03-Jun-2010 Dmitri Plotnikov <dplotnikov@google.com> Changing createView -> onCreateView and making it return void

Change-Id: I6b5994f9fcae21d17e8027da96ba28ce13ab070e
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
e124722daa8a4b31308d53e3f0457c3b66a20ae5 03-Jun-2010 Dmitri Plotnikov <dplotnikov@google.com> Reworking contacts list adapters for the new CompositeCursorAdapter API

Also redesigning PinnedHeaderListAdapter

Change-Id: Ia4a2e7bb449fc82e1c3ac9b7a3f0c54a8e4d9d38
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
9c3f337422f5147220d85c0779daf6c10c4e96f7 17-May-2010 Daniel Lehmann <lehmannd@google.com> Remove instance hacks, now that findFragmentById works

Change-Id: Id31aa717299a575ed8612b197f72e71bab508174
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
fe42e55dfc483b69c8a7831c16fbdbc5ab19929e 14-May-2010 Dmitri Plotnikov <dplotnikov@google.com> Breaking search UI out of the contact list fragment

Change-Id: I6d0dbdccaf6a55b380984710989fe8a1f674d3fd
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
1ce1e7cf261994e46e6fe85ed4d445241ad55f16 14-May-2010 Dmitri Plotnikov <dplotnikov@google.com> Refactoring contact list mode resolution.

Also, removing tons of obsolete code.

Change-Id: Ib661fae4f7568e18bb98d5f5e85d1ba75dc32cdb
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
dd56f01fb6fd313e9286139bc4e8dfe8e9ecfed2 13-May-2010 Dmitri Plotnikov <dplotnikov@google.com> Making UI.LIST_CONTACTS_WITH_PHONES_ACTION work with loaders/fragments.

Change-Id: If0929f2a06487ac60ca9632c6cb7d1ae3a59e5a3
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
792a9eacaf73abb29a7ea2020f4ea63368d83258 12-May-2010 Dmitri Plotnikov <dplotnikov@google.com> Making UI.LIST_ALL_CONTACTS_ACTION work with loaders/fragments.

Change-Id: If529dc8294439b6b2d2ef91cbea95dc7b45859fc
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
25a0282e968ebcdec6510bdb766ffba79b6fb8c4 12-May-2010 Daniel Lehmann <lehmannd@google.com> Changed fragments so that they can be used in Xml. Made demo 2-pane activity working

Bug: 2579760

Change-Id: I1d499643efd5911aa1387bfdd97b7b973c4a929a
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
9716d05319f62719019496ee7a97488c2ab9a9a8 11-May-2010 Dmitri Plotnikov <dplotnikov@google.com> Making DefaultContactBrowserListFragment auto-configured

Change-Id: I0d200a04e0c6a525997ae7fea25b95c54de17bc3
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
4b4681dbdedf60c5828ed7a6990097528df635f2 07-May-2010 Dmitri Plotnikov <dplotnikov@google.com> Bringing back contacts display preferences.

Cleaning up some life-cycle management issues.

Change-Id: Ifd29b898e46eb5bb713d65327d80cbf7aa562933
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
b993022be971190de0d375b4ff75812299d0b2ac 06-May-2010 Dmitri Plotnikov <dplotnikov@google.com> Restoring some of the phone number picker with Loaders and Fragments

Also, adding support for pictures and section headers in
the phone picker.

Change-Id: Icc86442c6b45a942998204f2d6e8e3a5aff70de0
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java
238d9847d8f2ace658fb7337c8847a2088ddc9d1 04-May-2010 Dmitri Plotnikov <dplotnikov@google.com> Restoring Strequents in Contacts

Call button will come back in the next CL.

Change-Id: I98b1991f7ac4cd12a252090634874ef90551e96f
/packages/apps/Contacts/src/com/android/contacts/list/DefaultContactBrowseListFragment.java