Npe in get sharees (#4370)

Npe in get sharees
This commit is contained in:
Tobias Kaminsky authored and GitHub committed 2019-08-22 14:35:16 +02:00
commit 6dfee6bd59
1 file changed
+1 -1
@@ -999,7 +999,7 @@ public class FileDataStorageManager {
String sharees = c.getString(c.getColumnIndex(ProviderTableMeta.FILE_SHAREES));
if ("null".equals(sharees) || sharees.isEmpty()) {
if (sharees == null || "null".equals(sharees) || sharees.isEmpty()) {
file.setSharees(new ArrayList<>());
} else {
try {