Merge change 25232 into eclair
* changes: Fix NPE when provider returns null cursor.
This commit is contained in:
@@ -542,7 +542,7 @@ public class Contacts {
|
|||||||
}
|
}
|
||||||
return new ByteArrayInputStream(data);
|
return new ByteArrayInputStream(data);
|
||||||
} finally {
|
} finally {
|
||||||
cursor.close();
|
if (cursor != null) cursor.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user