/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/am/ed/importcontacts/Importer.java

  • Committer: edam
  • Date: 2012-12-19 17:51:35 UTC
  • Revision ID: tim@ed.am-20121219175135-1cpuafp76jg1ib1p
added preliminary (buggy) ContactsContract backend

Show diffs side-by-side

added added

removed removed

Lines of Context:
425
425
                        setProgressMessage( R.string.doit_caching );
426
426
 
427
427
                        // create the appropriate backend
428
 
//                      if( Integer.parseInt( android.os.Build.VERSION.SDK ) >= 5 )
429
 
//                              _backend = new ContactsContractBackend( _doit );
430
 
//                      else
 
428
                        if( Integer.parseInt( android.os.Build.VERSION.SDK ) >= 5 )
 
429
                                _backend = new ContactsContractBackend( _doit );
 
430
                        else
431
431
                                _backend = new ContactsBackend( _doit );
432
432
 
433
433
                        // create a cache of existing contacts and populate it