use of com.owncloud.android.operations.UpdateOCVersionOperation in project android by owncloud.
the class FileSyncAdapter method updateOCVersion.
/**
* Updates the locally stored version value of the ownCloud server
*/
private void updateOCVersion() {
UpdateOCVersionOperation update = new UpdateOCVersionOperation(getAccount(), getContext());
RemoteOperationResult result = update.execute(getClient());
if (!result.isSuccess()) {
mLastFailedResult = result;
}
}
Aggregations