From: David A. Velasco Date: Fri, 23 May 2014 12:20:55 +0000 (+0200) Subject: Fixed reinit of video preview on rotations from portrait to landscape (tablets only... X-Git-Tag: oc-android-1.7.0_signed~295^2~8^2 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/8a74431926cff4819f4ef01b0134d63b60ced545?ds=inline;hp=--cc Fixed reinit of video preview on rotations from portrait to landscape (tablets only) ; removed unneeded reinit of second fragment --- 8a74431926cff4819f4ef01b0134d63b60ced545 diff --git a/src/com/owncloud/android/ui/activity/FileDisplayActivity.java b/src/com/owncloud/android/ui/activity/FileDisplayActivity.java index b5e8ac0f..940fcdd1 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