From d3bd8047b1693f1f337d0f273041f377117f4ae2 Mon Sep 17 00:00:00 2001 From: Eric House Date: Wed, 20 Jul 2016 08:51:31 -0700 Subject: [PATCH] cleanup --- .../XWords4/src/org/eehouse/android/xw4/MainActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/MainActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/MainActivity.java index f038515ec..74ef5b6aa 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/MainActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/MainActivity.java @@ -272,10 +272,10 @@ public class MainActivity extends XWActivity if ( 0 == fragCount ) { finish(); } else if ( fragCount == m_root.getChildCount() - 1 ) { - // View child = m_root.getChildAt( fragCount ); + View child = m_root.getChildAt( fragCount ); // DbgUtils.logf( "onBackStackChanged(): removing view with id %x", // child.getId() ); - m_root.removeViewAt( fragCount ); + m_root.removeView( child ); setVisiblePanes(); } }