diff options
author | wangqi <wangqi@google.com> | 2017-06-20 11:23:41 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-06-21 18:16:03 +0000 |
commit | 5b4becb8ca9cc6249d0cf0a074bf63d6999f3b5e (patch) | |
tree | 9ced1a3f07598cfb65cc3226368ba5321ee10107 /java/com/android/dialer/searchfragment/list | |
parent | f0a8ccfcd370d26b3887fc8428dedf5596f42ca8 (diff) |
Automated g4 rollback of changelist 158923709.
*** Reason for rollback ***
It's not necessary anymore after we verified it could be controlled from server side.
*** Original change description ***
Flip flag to enable ReturnToCall bubble.
Enables ReturnToCall bubble and changes the name of the flag so that it can be toggled independently from previous versions.
***
Also in the change: Restore TODOs
Test: TH
PiperOrigin-RevId: 159587541
Change-Id: I88f01550f07a7859f41b4f0fc843e92b38f5a85b
Diffstat (limited to 'java/com/android/dialer/searchfragment/list')
3 files changed, 4 insertions, 4 deletions
diff --git a/java/com/android/dialer/searchfragment/list/NewSearchFragment.java b/java/com/android/dialer/searchfragment/list/NewSearchFragment.java index fcc87c386..d20bb1f8c 100644 --- a/java/com/android/dialer/searchfragment/list/NewSearchFragment.java +++ b/java/com/android/dialer/searchfragment/list/NewSearchFragment.java @@ -67,7 +67,7 @@ public final class NewSearchFragment extends Fragment implements LoaderCallbacks @Override public Loader<Cursor> onCreateLoader(int id, Bundle bundle) { - // TODO add enterprise loader + // TODO(calderwoodra) add enterprise loader if (id == CONTACTS_LOADER_ID) { return new SearchContactsCursorLoader(getContext()); } else if (id == NEARBY_PLACES_ID) { diff --git a/java/com/android/dialer/searchfragment/list/SearchAdapter.java b/java/com/android/dialer/searchfragment/list/SearchAdapter.java index 023513e47..faa80fe85 100644 --- a/java/com/android/dialer/searchfragment/list/SearchAdapter.java +++ b/java/com/android/dialer/searchfragment/list/SearchAdapter.java @@ -53,7 +53,7 @@ class SearchAdapter extends RecyclerView.Adapter<ViewHolder> { case RowType.NEARBY_PLACES_HEADER: return new HeaderViewHolder( LayoutInflater.from(context).inflate(R.layout.header_layout, root, false)); - case RowType.DIRECTORY_ROW: // TODO: add directory rows to search + case RowType.DIRECTORY_ROW: // TODO(calderwoodra): add directory rows to search case RowType.INVALID: default: throw Assert.createIllegalStateFailException("Invalid RowType: " + rowType); diff --git a/java/com/android/dialer/searchfragment/list/SearchCursorManager.java b/java/com/android/dialer/searchfragment/list/SearchCursorManager.java index 216a9ada9..45d66aab8 100644 --- a/java/com/android/dialer/searchfragment/list/SearchCursorManager.java +++ b/java/com/android/dialer/searchfragment/list/SearchCursorManager.java @@ -124,7 +124,7 @@ final class SearchCursorManager { void setQuery(String query) { if (contactsCursor != null) { - // TODO: abstract this + // TODO(calderwoodra): abstract this ((SearchContactCursor) contactsCursor).filter(query); } } @@ -242,7 +242,7 @@ final class SearchCursorManager { switch (rowType) { case RowType.NEARBY_PLACES_HEADER: return R.string.nearby_places; - case RowType.DIRECTORY_HEADER: // TODO + case RowType.DIRECTORY_HEADER: // TODO(calderwoodra) case RowType.DIRECTORY_ROW: case RowType.CONTACT_ROW: case RowType.NEARBY_PLACES_ROW: |