diff --git a/src/main/java/com/owncloud/android/services/OperationsService.java b/src/main/java/com/owncloud/android/services/OperationsService.java index 7bbd090e18..b6330c24c1 100644 --- a/src/main/java/com/owncloud/android/services/OperationsService.java +++ b/src/main/java/com/owncloud/android/services/OperationsService.java @@ -143,12 +143,10 @@ public class OperationsService extends Service { private static class Target { public Uri mServerUrl; public Account mAccount; - public String mCookie; - public Target(Account account, Uri serverUrl, String cookie) { + public Target(Account account, Uri serverUrl) { mAccount = account; mServerUrl = serverUrl; - mCookie = cookie; } } @@ -522,12 +520,7 @@ public class OperationsService extends Service { } else { Account account = operationIntent.getParcelableExtra(EXTRA_ACCOUNT); String serverUrl = operationIntent.getStringExtra(EXTRA_SERVER_URL); - String cookie = operationIntent.getStringExtra(EXTRA_COOKIE); - target = new Target( - account, - (serverUrl == null) ? null : Uri.parse(serverUrl), - cookie - ); + target = new Target(account, (serverUrl == null) ? null : Uri.parse(serverUrl)); String action = operationIntent.getAction(); String remotePath; diff --git a/src/main/java/com/owncloud/android/ui/adapter/ActivityAndVersionListAdapter.java b/src/main/java/com/owncloud/android/ui/adapter/ActivityAndVersionListAdapter.java index 8f3d3f793e..48a8f3ff57 100644 --- a/src/main/java/com/owncloud/android/ui/adapter/ActivityAndVersionListAdapter.java +++ b/src/main/java/com/owncloud/android/ui/adapter/ActivityAndVersionListAdapter.java @@ -169,8 +169,6 @@ public class ActivityAndVersionListAdapter extends ActivityListAdapter { } protected class VersionViewHolder extends RecyclerView.ViewHolder { - @BindView(R.id.thumbnail) - public ImageView thumbnail; @BindView(R.id.size) public TextView size; @BindView(R.id.time) diff --git a/src/main/java/com/owncloud/android/ui/adapter/SyncedFolderAdapter.java b/src/main/java/com/owncloud/android/ui/adapter/SyncedFolderAdapter.java index 6cd4a5d704..7720eb7f11 100644 --- a/src/main/java/com/owncloud/android/ui/adapter/SyncedFolderAdapter.java +++ b/src/main/java/com/owncloud/android/ui/adapter/SyncedFolderAdapter.java @@ -26,7 +26,6 @@ import android.view.LayoutInflater; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; -import android.widget.FrameLayout; import android.widget.ImageButton; import android.widget.ImageView; import android.widget.LinearLayout; @@ -421,9 +420,6 @@ public class SyncedFolderAdapter extends SectionedRecyclerViewAdapter