mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
remove debug-only assert I'm seeing
Good to know it's happening; now don't crash!
This commit is contained in:
parent
40eab8690b
commit
b5ab8803c4
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,9 @@ public class MainActivity extends XWActivity
|
|||
@Override
|
||||
protected void onCreate( Bundle savedInstanceState )
|
||||
{
|
||||
Assert.assertTrue(isTaskRoot() || !BuildConfig.DEBUG);
|
||||
if ( BuildConfig.DEBUG && !isTaskRoot() ) {
|
||||
Log.e( TAG, "isTaskRoot() => false!!! What to do?" );
|
||||
}
|
||||
|
||||
m_dpEnabled = XWPrefs.getIsTablet( this );
|
||||
|
||||
|
|
Loading…
Reference in a new issue