瀏覽代碼

Fixed reinit of video preview on rotations from portrait to landscape (tablets only) ; removed unneeded reinit of second fragment

David A. Velasco 11 年之前
父節點
當前提交
8a74431926
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      src/com/owncloud/android/ui/activity/FileDisplayActivity.java

+ 0 - 5
src/com/owncloud/android/ui/activity/FileDisplayActivity.java

@@ -180,11 +180,6 @@ FileFragment.ContainerActivity, OnNavigationListener, OnSslUntrustedCertListener
         mRightFragmentContainer = findViewById(R.id.right_fragment_container);
         mRightFragmentContainer = findViewById(R.id.right_fragment_container);
         if (savedInstanceState == null) {
         if (savedInstanceState == null) {
             createMinFragments();
             createMinFragments();
-        } else {
-            Log_OC.d(TAG, "Init the secondFragment again");
-            if (mDualPane) {
-                initFragmentsWithFile();                
-            }
         }
         }
 
 
         // Action bar setup
         // Action bar setup