mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Fix upload requirements
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
93de4bdebd
commit
5d9c7c4c6a
1 changed files with 3 additions and 0 deletions
|
@ -363,6 +363,9 @@ public class UploadsStorageManager extends Observable {
|
|||
upload.setLastResult(UploadResult.fromValue(
|
||||
c.getInt(c.getColumnIndex(ProviderTableMeta.UPLOADS_LAST_RESULT))));
|
||||
upload.setCreatedBy(c.getInt(c.getColumnIndex(ProviderTableMeta.UPLOADS_CREATED_BY)));
|
||||
upload.setUseWifiOnly(c.getInt(c.getColumnIndex(ProviderTableMeta.UPLOADS_IS_WIFI_ONLY)) == 1);
|
||||
upload.setWhileChargingOnly(c.getInt(c.getColumnIndex(ProviderTableMeta.UPLOADS_IS_WHILE_CHARGING_ONLY))
|
||||
== 1);
|
||||
}
|
||||
return upload;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue