Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
przybylski authored and jabarros committed Jun 29, 2016
1 parent 74ee655 commit 24619ce
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ public Cursor queryDocument(String documentId, String[] projection) throws FileN
updateCurrentStorageManagerIfNeeded(docId);

final FileCursor result = new FileCursor(projection);
result.addFile(mCurrentStorageManager.getFileById(docId));
if (result != null)
result.addFile(mCurrentStorageManager.getFileById(docId));

return result;
}
Expand Down

0 comments on commit 24619ce

Please sign in to comment.