return ret;
}
- public Vector<OCFile> getDownloadedFilesByAccount(String accountName) {
- Vector<OCFile> ret = new Vector<OCFile>();
-
- return ret;
- }
-
public boolean saveFile(OCFile file) {
boolean overriden = false;
ContentValues cv = new ContentValues();
// get accounts from AccountManager ; we can't be sure if accounts in it are updated or not although
// we know the update was previously done in {link @FileActivity#onCreate} because the changes through
// AccountManager are not synchronous
- Account[] accounts = AccountManager.get(getContext()).getAccountsByType(
+ Account[] accounts = AccountManager.get(getContext()).getAccountsByType(
MainApp.getAccountType());
String serverUrl, username, oldAccountName, newAccountName;
for (Account account : accounts) {
db.endTransaction();
}
}
- } catch (Exception e) {
- Log_OC.e(TAG, "Exception upgrading account names or paths in database", e);
- }
+ } catch (Exception e) {
+ Log_OC.e(TAG, "Exception upgrading account names or paths in database", e);
+ }
}