mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 01:32:17 -05:00
fixed odd occurrences of a cursor returned by the system being NULL. wtf ukas
This commit is contained in:
parent
16c63c91e2
commit
d63a9eb306
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user