drop rather than asserting failure when unable to create a dialog.

This commit is contained in:
Andy2 2011-01-18 21:18:21 -08:00 committed by Andy2
parent f6b95f93a1
commit 46f085f479
2 changed files with 3 additions and 2 deletions

View file

@ -252,7 +252,8 @@ public class BoardActivity extends XWActivity implements UtilCtxt {
break; break;
default: default:
Assert.assertTrue( false ); // just drop it; super.onCreateDialog likely failed
break;
} }
} }
return dialog; return dialog;

View file

@ -134,7 +134,7 @@ public class GamesList extends XWListActivity
}); });
break; break;
default: default:
Assert.fail(); // just drop it; super.onCreateDialog likely failed
break; break;
} }
} }