diff options
Diffstat (limited to 'java/com/android/dialer/searchfragment/nearbyplaces/NearbyPlacesCursorLoader.java')
-rw-r--r-- | java/com/android/dialer/searchfragment/nearbyplaces/NearbyPlacesCursorLoader.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/java/com/android/dialer/searchfragment/nearbyplaces/NearbyPlacesCursorLoader.java b/java/com/android/dialer/searchfragment/nearbyplaces/NearbyPlacesCursorLoader.java index 0d52c108e..9ba6d56ea 100644 --- a/java/com/android/dialer/searchfragment/nearbyplaces/NearbyPlacesCursorLoader.java +++ b/java/com/android/dialer/searchfragment/nearbyplaces/NearbyPlacesCursorLoader.java @@ -39,8 +39,7 @@ public final class NearbyPlacesCursorLoader extends CursorLoader { * order to find a directory ID for the nearby places cursor that doesn't collide with * existing directories. */ - public NearbyPlacesCursorLoader( - Context context, String query, @NonNull List<Integer> directoryIds) { + public NearbyPlacesCursorLoader(Context context, String query, @NonNull List<Long> directoryIds) { super(context, getContentUri(context, query), Projections.DATA_PROJECTION, null, null, null); this.directoryId = getDirectoryId(directoryIds); } @@ -63,7 +62,7 @@ public final class NearbyPlacesCursorLoader extends CursorLoader { .build(); } - private static long getDirectoryId(List<Integer> directoryIds) { + private static long getDirectoryId(List<Long> directoryIds) { if (directoryIds.isEmpty()) { return INVALID_DIRECTORY_ID; } |