mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +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;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
Assert.assertTrue( false );
|
// just drop it; super.onCreateDialog likely failed
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return dialog;
|
return dialog;
|
||||||
|
|
|
@ -134,7 +134,7 @@ public class GamesList extends XWListActivity
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
Assert.fail();
|
// just drop it; super.onCreateDialog likely failed
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue