Move copy of GroupingListAdapter to Dialer app.

+ Copied in from com.android.common.widget. This component is pretty
specific to phone number / call log grouping anyways.
+ Changed CallLogAdapter to reference this GroupingListAdapter
instead of the one in the framework library.
+ Changed  CallLogGroupBuilder to reference this adapter too.
+ Copy in tests too.

Next step: change GroupingListAdapter to extend RecyclerView.Adapter.
This will preserve existing grouping logic, despite switching to the
new view.

Bug: 19372817
Change-Id: Ic0186ca5fad06a3ae398b9d8f8006210077149dc
4 files changed
tree: e8540aa796c883a4bd951bb8729183789f73dfb3
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. proguard.flags