Logger.debug("acc", String.format("Looking for account '%s'", constraint));
final List<String> matches = AccountDAO.unbox(
- (profileId == NO_PROFILE_ID) ? dao.lookupByNameSync(String.valueOf(constraint)
- .toUpperCase())
- : dao.lookupInProfileByNameSync(profileId,
- String.valueOf(constraint)
- .toUpperCase()));
+ (profileId == NO_PROFILE_ID) ? dao.lookupNamesByNameSync(
+ String.valueOf(constraint)
+ .toUpperCase()) : dao.lookupNamesInProfileByNameSync(profileId,
+ String.valueOf(constraint)
+ .toUpperCase()));
results.values = matches;
results.count = matches.size();