import androidx.annotation.NonNull;
import net.ktnx.mobileledger.dao.AccountDAO;
+import net.ktnx.mobileledger.utils.Logger;
import java.util.ArrayList;
import java.util.List;
return results;
}
+ Logger.debug("acc", String.format("Looking for account '%s'", constraint));
final List<String> matches = AccountDAO.unbox(
- (profileUUID == null) ? dao.lookupByNameSync(String.valueOf(constraint))
+ (profileUUID == null) ? dao.lookupByNameSync(String.valueOf(constraint)
+ .toUpperCase())
: dao.lookupInProfileByNameSync(profileUUID,
- String.valueOf(constraint)));
+ String.valueOf(constraint)
+ .toUpperCase()));
results.values = matches;
results.count = matches.size();