mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 02:17:43 +03:00
Update app/src/main/java/com/owncloud/android/ui/activity/FileDisplayActivity.java
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>
This commit is contained in:
parent
8c43463df0
commit
224c2e64ea
1 changed files with 0 additions and 1 deletions
|
@ -519,7 +519,6 @@ public class FileDisplayActivity extends FileActivity implements FileFragment.Co
|
||||||
OCFile file = IntentExtensionsKt.getParcelableArgument(intent, EXTRA_FILE, OCFile.class);
|
OCFile file = IntentExtensionsKt.getParcelableArgument(intent, EXTRA_FILE, OCFile.class);
|
||||||
setFile(file);
|
setFile(file);
|
||||||
setIntent(intent);
|
setIntent(intent);
|
||||||
setFile(IntentExtensionsKt.getParcelableArgument(intent, EXTRA_FILE, OCFile.class)); // is it needed?
|
|
||||||
showDetails(file);
|
showDetails(file);
|
||||||
} else if (Intent.ACTION_VIEW.equals(intent.getAction())) {
|
} else if (Intent.ACTION_VIEW.equals(intent.getAction())) {
|
||||||
handleOpenFileViaIntent(intent);
|
handleOpenFileViaIntent(intent);
|
||||||
|
|
Loading…
Reference in a new issue