remove debug-only assert I'm seeing

Good to know it's happening; now don't crash!
This commit is contained in:
Eric House 2019-02-01 19:39:23 -08:00
parent 40eab8690b
commit b5ab8803c4

View file

@ -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 );