diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListActivity.java index 4e04767e2..be0e21f99 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListActivity.java @@ -44,6 +44,12 @@ public class GamesListActivity extends XWListActivity { { m_dlgt = new GamesListDelegate( this, savedInstanceState ); super.onCreate( savedInstanceState, m_dlgt ); + + int flags = getIntent().getFlags(); + if (0 != (flags & Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT)) { + // DbgUtils.logf( "GamesListActivity.onCreate(); bad duplicate case; exiting" ); + finish(); + } } // onCreate // called when we're brought to the front (probably as a result of