/android/import-contacts

To get this branch, use:
bzr branch http://bzr.ed.am/android/import-contacts

« back to all changes in this revision

Viewing changes to src/org/waxworlds/importcontacts/VCFImporter.java

  • Committer: edam
  • Date: 2009-01-13 06:35:26 UTC
  • Revision ID: edam@waxworlds.org-20090113063526-l9t1s9git4bav60a
- new contact's phone numebrs and email addresses are added to the caches after those contacts are updated to account for the situation where the same contact is imported again from another file (or the contact exists twice in the same file!?)

Show diffs side-by-side

added added

removed removed

74
74
 
75
75
                        // get files
76
76
                        class VCardFilter implements FilenameFilter {
77
 
                                public boolean accept( File dir, String name ) {
78
 
                                        return name.toLowerCase().endsWith( ".vcf" );
79
 
                                }
 
77
                            public boolean accept( File dir, String name ) {
 
78
                                return name.toLowerCase().endsWith( ".vcf" );
 
79
                            }
80
80
                        }
81
81
                        files = dir.listFiles( new VCardFilter() );
82
82
                }