From 0abc3a6b298134d180e10049902c8f98d492b290 Mon Sep 17 00:00:00 2001 From: theScrabi Date: Fri, 13 Apr 2018 08:59:58 +0200 Subject: [PATCH] fix empty screen --- .../owncloud/android/lib/common/network/WebdavEntry.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/com/owncloud/android/lib/common/network/WebdavEntry.java b/src/com/owncloud/android/lib/common/network/WebdavEntry.java index d93286b3..248350b3 100644 --- a/src/com/owncloud/android/lib/common/network/WebdavEntry.java +++ b/src/com/owncloud/android/lib/common/network/WebdavEntry.java @@ -1,5 +1,7 @@ -/* ownCloud Android Library is available under MIT license - * Copyright (C) 2016 ownCloud GmbH. +/** ownCloud Android Library is available under MIT license + * + * @author Christian Schabesberger + * Copyright (C) 2018 ownCloud GmbH. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -164,7 +166,7 @@ public class WebdavEntry { prop = propSet.get( EXTENDED_PROPERTY_NAME_PERMISSIONS, Namespace.getNamespace(NAMESPACE_OC) ); - if (prop != null) { + if (prop != null && prop.getValue() != null) { mPermissions = prop.getValue().toString(); }