Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffd6822b authored by Samuel Cheung's avatar Samuel Cheung Committed by Josh Guilfoyle
Browse files

fix bug: Carousel - switching between items causes activities to pause and resume several times

parent abc13309
Loading
Loading
Loading
Loading
+18 −20
Original line number Diff line number Diff line
@@ -669,9 +669,6 @@ mTabHost.addTab(TAB_TAG_1, "Hello, world!", "Tab 1");

        public View getContentView() {
            
//            if (!mCloseView)
//                return null;
            
            if (mLocalActivityManager == null) {
                throw new IllegalStateException("Did you forget to call 'public void setup(LocalActivityManager activityGroup)'?");
            }
@@ -713,6 +710,7 @@ mTabHost.addTab(TAB_TAG_1, "Hello, world!", "Tab 1");
       
    }

    // Implemented by Carousel (a child class of TabHost)
    protected void removeViewFromLayout(View mLaunchedView) {
        
    }