diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2018-02-27 23:20:36 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-02-27 23:20:36 +0000 |
commit | 79eb6bd9693a0042943d66648f0d8768cb15dfb6 (patch) | |
tree | 8d3056e45514b451c94898c3731ccb700f43e5a4 /java/com/android/dialer/searchfragment/directories/DirectoryContactsCursor.java | |
parent | ffdd9c7513dfe72e02722889baaaab241d244d8c (diff) | |
parent | c3d3c3dfbcf96f6db92b747463ac84ee244a0c85 (diff) |
Merge "Move DirectoryCompat from "contacts/common" to "dialer/common/cp2"."
Diffstat (limited to 'java/com/android/dialer/searchfragment/directories/DirectoryContactsCursor.java')
-rw-r--r-- | java/com/android/dialer/searchfragment/directories/DirectoryContactsCursor.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/java/com/android/dialer/searchfragment/directories/DirectoryContactsCursor.java b/java/com/android/dialer/searchfragment/directories/DirectoryContactsCursor.java index 8f9ab0e60..0c1ad8318 100644 --- a/java/com/android/dialer/searchfragment/directories/DirectoryContactsCursor.java +++ b/java/com/android/dialer/searchfragment/directories/DirectoryContactsCursor.java @@ -22,8 +22,8 @@ import android.database.MatrixCursor; import android.database.MergeCursor; import android.support.annotation.Nullable; import android.support.annotation.VisibleForTesting; -import com.android.contacts.common.compat.DirectoryCompat; import com.android.dialer.common.Assert; +import com.android.dialer.common.cp2.DirectoryCompat; import com.android.dialer.searchfragment.common.SearchCursor; import com.android.dialer.searchfragment.directories.DirectoriesCursorLoader.Directory; import java.util.ArrayList; @@ -101,8 +101,6 @@ public final class DirectoryContactsCursor extends MergeCursor implements Search private static MatrixCursor createHeaderCursor(Context context, String name, long id) { MatrixCursor headerCursor = new MatrixCursor(PROJECTION, 1); - // TODO(a bug): Consider moving DirectoryCompat out of "contacts/common" and share it - // with PhoneLookups. if (DirectoryCompat.isOnlyEnterpriseDirectoryId(id)) { headerCursor.addRow( new Object[] {context.getString(R.string.directory_search_label_work), id}); |