1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

Merge pull request #185 from theScrabi/fix_empty_screen

fix empty screen for guest users
This commit is contained in:
Christian Schabesberger 2018-04-13 12:54:10 +02:00 committed by GitHub
commit a2a1b0204a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,7 @@
/* ownCloud Android Library is available under MIT license /** ownCloud Android Library is available under MIT license
* Copyright (C) 2016 ownCloud GmbH. *
* @author Christian Schabesberger
* Copyright (C) 2018 ownCloud GmbH.
* *
* Permission is hereby granted, free of charge, to any person obtaining a copy * Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal * of this software and associated documentation files (the "Software"), to deal
@ -164,7 +166,7 @@ public class WebdavEntry {
prop = propSet.get( prop = propSet.get(
EXTENDED_PROPERTY_NAME_PERMISSIONS, Namespace.getNamespace(NAMESPACE_OC) EXTENDED_PROPERTY_NAME_PERMISSIONS, Namespace.getNamespace(NAMESPACE_OC)
); );
if (prop != null) { if (prop != null && prop.getValue() != null) {
mPermissions = prop.getValue().toString(); mPermissions = prop.getValue().toString();
} }