/android/export-contacts

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

« back to all changes in this revision

Viewing changes to src/am/ed/exportcontacts/ContactsContactAccessor.java

  • Committer: edam
  • Date: 2012-12-21 12:02:17 UTC
  • Revision ID: tim@ed.am-20121221120217-cjj3i2qh9kum3uos
fixed NPE bug

Show diffs side-by-side

added added

removed removed

65
65
                }
66
66
 
67
67
                // if there are no more contacts, abort
68
 
                if( !_cur.moveToNext() ) {
 
68
                if( _cur == null || !_cur.moveToNext() ) {
69
69
                        _cur = null;
70
70
                        return false;
71
71
                }