mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
drop rather than asserting failure when unable to create a dialog.
This commit is contained in:
parent
96df0c878d
commit
1fcf80c146
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -134,7 +134,7 @@ public class GamesList extends XWListActivity
|
|||
});
|
||||
break;
|
||||
default:
|
||||
Assert.fail();
|
||||
// just drop it; super.onCreateDialog likely failed
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue