From 8a74431926cff4819f4ef01b0134d63b60ced545 Mon Sep 17 00:00:00 2001 From: "David A. Velasco" Date: Fri, 23 May 2014 14:20:55 +0200 Subject: [PATCH] Fixed reinit of video preview on rotations from portrait to landscape (tablets only) ; removed unneeded reinit of second fragment --- .../owncloud/android/ui/activity/FileDisplayActivity.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/com/owncloud/android/ui/activity/FileDisplayActivity.java b/src/com/owncloud/android/ui/activity/FileDisplayActivity.java index b5e8ac0f7e..940fcdd106 100644 --- a/src/com/owncloud/android/ui/activity/FileDisplayActivity.java +++ b/src/com/owncloud/android/ui/activity/FileDisplayActivity.java @@ -180,11 +180,6 @@ FileFragment.ContainerActivity, OnNavigationListener, OnSslUntrustedCertListener mRightFragmentContainer = findViewById(R.id.right_fragment_container); if (savedInstanceState == null) { createMinFragments(); - } else { - Log_OC.d(TAG, "Init the secondFragment again"); - if (mDualPane) { - initFragmentsWithFile(); - } } // Action bar setup