Fix indent

This commit is contained in:
Sylvain Berfini 2017-10-24 11:31:19 +02:00
parent 1ff455bbae
commit bece218349
2 changed files with 5 additions and 5 deletions

View file

@ -135,7 +135,7 @@ public class ChatCreationFragment extends Fragment implements View.OnClickListen
@Override
public void afterTextChanged(Editable s) {
searchAdapter.searchContacts(searchField.getText().toString(), contactsList);
searchAdapter.searchContacts(searchField.getText().toString(), contactsList);
}
});

View file

@ -170,7 +170,7 @@ public class SearchContactsListAdapter extends BaseAdapter {
if (search != null) {
for (ContactAddress c : (search.length() < oldSize) ? getContactsList() : getContacts()) {
String address = c.getAddress();
if (address.equals(searchAddress)) searchFound = true;
if (address.equals(searchAddress)) searchFound = true;
if (address.startsWith("sip:")) address = address.substring(4);
if (c.getContact() != null && c.getContact().getFullName() != null
&& c.getContact().getFullName().toLowerCase(Locale.getDefault()).startsWith(search.toLowerCase(Locale.getDefault()))
@ -180,9 +180,9 @@ public class SearchContactsListAdapter extends BaseAdapter {
}
}
if (!searchFound) {
LinphoneContact searchContact = new LinphoneContact();
searchContact.setFullName(search);
result.add(new ContactAddress(searchContact, searchAddress, false));
LinphoneContact searchContact = new LinphoneContact();
searchContact.setFullName(search);
result.add(new ContactAddress(searchContact, searchAddress, false));
}
oldSize = search.length();