storage manager can be null
Signed-off-by: tobiasKaminsky <[email protected]>
This commit is contained in:
1 file changed
+4
@@ -747,6 +747,10 @@ public class OCFileListAdapter extends RecyclerView.Adapter<RecyclerView.ViewHol
|
||||
showShareAvatar = mStorageManager.getCapability(account.name).getVersion().isShareesOnDavSupported();
|
||||
}
|
||||
|
||||
if (mStorageManager == null) {
|
||||
mStorageManager = new FileDataStorageManager(account, mContext.getContentResolver());
|
||||
}
|
||||
|
||||
if (clear) {
|
||||
mFiles.clear();
|
||||
resetLastTimestamp();
|
||||
|
||||
Reference in new issue
Block a user