/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/edam/importcontacts/FileChooser.java

  • Committer: edam
  • Date: 2011-06-04 13:16:20 UTC
  • Revision ID: edam@waxworlds.org-20110604131620-hean9j66r3f5i72h
- fix UTF-8 unencoding by default on v3.0 vCards
- proper unescaping of strings in v3.0 vCards (also works for v2.1, although the 2.1 specs don't mention it)

Show diffs side-by-side

added added

removed removed

337
337
                }
338
338
 
339
339
                // special paths
340
 
                if( path.equals( sdcard_path ) )
 
340
                if( sdcard_path != null && path.equals( sdcard_path ) )
341
341
                        return R.drawable.sdcard;
342
342
 
343
343
                // default