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:
commit
a2a1b0204a
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user