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
parent 96df0c878d
commit 1fcf80c146
2 changed files with 3 additions and 2 deletions

View file

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

View file

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