Fix NPE when provider returns null cursor.

Fixes http://b/2051283
1 file changed