mirror of https://github.com/nextcloud/android
fix code analytics
Signed-off-by: alperozturk <alper_ozturk@proton.me>
This commit is contained in:
parent
7140c50089
commit
d231fee08d
|
@ -490,12 +490,8 @@ public class UploadFileOperation extends SyncOperation {
|
|||
// mContext);
|
||||
|
||||
Object object = EncryptionUtils.downloadFolderMetadata(parentFile, client, mContext, user);
|
||||
if (object != null) {
|
||||
if (object instanceof DecryptedFolderMetadataFileV1) {
|
||||
if (((DecryptedFolderMetadataFileV1) object).getMetadata() != null) {
|
||||
metadataExists = true;
|
||||
}
|
||||
}
|
||||
if (object instanceof DecryptedFolderMetadataFileV1 && ((DecryptedFolderMetadataFileV1) object).getMetadata() != null) {
|
||||
metadataExists = true;
|
||||
}
|
||||
|
||||
if (CapabilityUtils.getCapability(mContext).getEndToEndEncryptionApiVersion().compareTo(E2EVersion.V2_0) >= 0) {
|
||||
|
|
Loading…
Reference in New Issue