From 224c2e64eac59727b7d021f28ca5c25fe646a3ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alper=20=C3=96zt=C3=BCrk?= <67455295+alperozturk96@users.noreply.github.com> Date: Mon, 18 Dec 2023 14:30:02 +0100 Subject: [PATCH] Update app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I tested. Looks like not needed. Co-authored-by: Tom <70907959+ZetaTom@users.noreply.github.com> Signed-off-by: Alper Öztürk <67455295+alperozturk96@users.noreply.github.com> --- .../com/owncloud/android/ui/activity/FileDisplayActivity.java | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java index 42a4e5c264..59b19b67f3 100644 --- a/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java +++ b/app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java @@ -519,7 +519,6 @@ public class FileDisplayActivity extends FileActivity implements FileFragment.Co OCFile file = IntentExtensionsKt.getParcelableArgument(intent, EXTRA_FILE, OCFile.class); setFile(file); setIntent(intent); - setFile(IntentExtensionsKt.getParcelableArgument(intent, EXTRA_FILE, OCFile.class)); // is it needed? showDetails(file); } else if (Intent.ACTION_VIEW.equals(intent.getAction())) { handleOpenFileViaIntent(intent);