Handle the case of a null cursor being returned.

While unlikely, it is possible for the content resolver to return a null
cursor. Instead of crashing with a NullPointerException, handle this
case gracefully.

Bug: 5642539
Change-Id: I69423c32a124e3e7c8d6734e5561c316919eb1b4
1 file changed