title: All Contacts are not showing while retrieving contacts
body: <p>I implemented a code to retrieve all contacts but it is not showing all contacts where few of them are missed.
  Here is my code:</p>
  
  <pre><code> String[] projection = new String[]{
                  ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME,
                  ContactsContract.CommonDataKinds.Phone.NUMBER,
                  ContactsContract.CommonDataKinds.Phone.NORMALIZED_NUMBER,
          };
          Cursor cursor = null;
          try {
              cursor = getContentResolver().query(ContactsContract.CommonDataKinds.Phone.CONTENT_URI,
                      projection, null, null, null);
          } catch (SecurityException e) {
          }
          if (cursor != null) {
              try {
                  HashSet&lt;String&gt; normalizedNumbersAlreadyFound = new HashSet&lt;&gt;();
                  int indexOfNormalizedNumber = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NORMALIZED_NUMBER);
                  int indexOfDisplayName = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.DISPLAY_NAME);
                  int indexOfDisplayNumber = cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER);
                  while (cursor.moveToNext()) {
                      String normalizedNumber = cursor.getString(indexOfNormalizedNumber);
                      if (normalizedNumbersAlreadyFound.add(normalizedNumber)) {
                          String displayName = cursor.getString(indexOfDisplayName);
                          String displayNumber = cursor.getString(indexOfDisplayNumber);
  
                          listOfContacts.add(new PhoneContactsModel(displayName, displayNumber, false));
  
                      } else {
                      }
                  }
                  Log.d("tag", "size of listOfContacts =1====" + listOfContacts.size());
  
  
              } finally {
                  cursor.close();
              }
          }
  </code></pre>
  
  <p>don't know what is happening. Please help me.</p>