mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
drop rather than asserting failure when unable to create a dialog.
This commit is contained in:
parent
f6b95f93a1
commit
46f085f479
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