use of com.owncloud.android.providers.cursors.RootCursor in project android by owncloud.
the class DocumentsStorageProvider method queryRoots.
@Override
public Cursor queryRoots(String[] projection) throws FileNotFoundException {
initiateStorageMap();
final RootCursor result = new RootCursor(projection);
for (Account account : AccountUtils.getAccounts(getContext())) result.addRoot(account, getContext());
return result;
}
Aggregations