Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit bdc4f794 authored by Mario Danic's avatar Mario Danic Committed by AndyScherzinger
Browse files

Some logging

parent 8806812c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@
package com.owncloud.android.lib.common.network;

import android.net.Uri;
import android.util.Log;

import com.owncloud.android.lib.common.utils.Log_OC;

@@ -195,6 +196,7 @@ public class WebdavEntry {

            // OC favorite property <oc:favorite>
            prop = propSet.get(EXTENDED_PROPERTY_FAVORITE,  Namespace.getNamespace(NAMESPACE_OC));
            Log.d("MARIO", prop.toString());
            if (prop != null) {
                mIsFavorite = Boolean.parseBoolean((String) prop.getValue());
            } else {
+9 −10
Original line number Diff line number Diff line
@@ -51,15 +51,6 @@ public class RemoteFile implements Parcelable, Serializable {
	private String mEtag;
	private String mPermissions;
	private String mRemoteId;

	public boolean getIsFavorite() {
		return mIsFavorite;
	}

	public void setFavorite(boolean mIsFavorite) {
		this.mIsFavorite = mIsFavorite;
	}

	private long mSize;
    private BigDecimal mQuotaUsedBytes;
    private BigDecimal mQuotaAvailableBytes;
@@ -69,6 +60,14 @@ public class RemoteFile implements Parcelable, Serializable {
	 * Getters and Setters
	 */

	public boolean getIsFavorite() {
		return mIsFavorite;
	}

	public void setFavorite(boolean mIsFavorite) {
		this.mIsFavorite = mIsFavorite;
	}

	public String getRemotePath() {
		return mRemotePath;
	}