android/sdremote/src/org/libreoffice/impressremote/PresentationActivity.java | 
   4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 12f2baa316ce283020ea200836c7bb587c3d577f
Author: Thorsten Behrens <[email protected]>
Date:   Thu Feb 7 11:37:49 2013 +0100

    sdremote - always replace fragments, to avoid stale content
    
    With Change-Id I7cb1cf29bcae59ef26cf3bf0c2b3dd028eb8f878, this code
    gets run on every onCreate, thus adding activities on top of
    existing ones. Seems FragmentManager lifetime is a bit decoupled
    from Activity
    
    Change-Id: Icc1dc86ef91257ce734ee00fed83e909ddf52dc8

diff --git 
a/android/sdremote/src/org/libreoffice/impressremote/PresentationActivity.java 
b/android/sdremote/src/org/libreoffice/impressremote/PresentationActivity.java
index eb992f1..9de25ed 100644
--- 
a/android/sdremote/src/org/libreoffice/impressremote/PresentationActivity.java
+++ 
b/android/sdremote/src/org/libreoffice/impressremote/PresentationActivity.java
@@ -78,8 +78,8 @@ public class PresentationActivity extends 
SherlockFragmentActivity {
 
         FragmentTransaction fragmentTransaction = fragmentManager
             .beginTransaction();
-        fragmentTransaction.add(R.id.presentation_interceptor,
-                                mPresentationFragment, 
"fragment_presentation");
+        fragmentTransaction.replace(R.id.presentation_interceptor,
+                                    mPresentationFragment, 
"fragment_presentation");
         fragmentTransaction.commit();
         mOuterLayout = (FrameLayout) findViewById(R.id.framelayout);
     }
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to