Patch to address owncloud/android#37