Don't crash if the cursor is null.
Don't crash if the cursor is null.

Change-Id: Ibbacc97f781c1485599a5e11217527930d97fe2d

xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base,xorware/android_frameworks_base