fixed odd occurrences of a cursor returned by the system being NULL. wtf ukas

This commit is contained in:
iNPUTmice 2014-06-25 17:21:51 +02:00
parent 16c63c91e2
commit d63a9eb306

View File

@ -38,6 +38,9 @@ public class PhoneHelper {
@Override
public void onLoadComplete(Loader<Cursor> arg0, Cursor cursor) {
if (cursor==null) {
return;
}
while (cursor.moveToNext()) {
Bundle contact = new Bundle();
contact.putInt("phoneid", cursor.getInt(cursor